PDA

View Full Version : can this be done with vb members profile link?


influence
01-31-2006, 06:11 PM
Can the profile link be redirected to http://profiles.mysite.com/membername.html

I dont know if I can accomplish that by using either vbseo or some of the hacks on here.


Please someone tell me if this can be done. I know I will have to create a subdomain call profile and all but I dont know if this can be accomplished

PennylessZ28
01-31-2006, 07:39 PM
you can't rename the actual link, but you can make it so

http://profiles.mysite.com/membername.html = http://profiles.mysite.com/member.php?$userid=XXX

With readwrite rules.

I use this in the .htaccess file to achieve this http://www.mysite.com/myuser

RewriteEngine On
RewriteRule (^[-_A-Za-z0-9\ ]*$) member.php?&username=$1

influence
02-01-2006, 12:02 PM
thank you sir,

vbseo.com showed me how to do it but your reply was truly appreciated. They also showed me how I can change my members profile links to http://membername.mysite.com . You will need to purchase their script to accomplish that though

Brad
02-01-2006, 12:36 PM
You don't have to buy that script to do this. You can get to profiles with the username if you use this link:

https://vborg.vbsupport.ru/member.php?username=Brad

From there all you have to do is set up the rewrite rules.

Dean C
02-01-2006, 08:41 PM
Should use this really HR3rdGen:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^([-_A-Za-z0-9\ ]+)$ member.php?&username=$1 [L]

harmor19
02-01-2006, 08:48 PM
How does it know to use "membername.html"?

T3MEDIA
02-22-2006, 12:39 PM
Should use this really HR3rdGen:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^([-_A-Za-z0-9\ ]+)$ member.php?&username=$1 [L]

if you do that and do a password reset wouldnt you get an error like the user name does not have an account so they do not exist?

what bout stuff like this as well
RewriteCond %{HTTP_HOST} ^members.yoursite.com$