PDA

View Full Version : .htaccess question


jojo77
02-27-2006, 05:44 PM
I added this hack to my htaccess file where it will give users a personal url to their profile page based on their username name.

so for instance

www.mysite.com/forum/jojo77/

directs to

www.mysite.com/forum/index.php?member.php?&username=12


It works pretty good except that when you go to just

www.mysite.com/forum/

it will give you an error

"This user has not registered and therefore does not have a profile to view."


Anyone know what else I have to add to my htaccess file to fix this issue?

UK Jimbo
03-02-2006, 10:32 PM
Off the top of my head...

RewriteRule ^$ index.php

Might do the trick.

What did you add to the .htaccess file as part of the hack?

Reeve of shinra
03-02-2006, 10:49 PM
try changing it so

mysite.com/user/jojo77=
http://www.mysite.com/forum/index.p...hp?&username=12

UK Jimbo
03-02-2006, 11:08 PM
try changing it so

mysite.com/user/jojo77=
http://www.mysite.com/forum/index.p...hp?&username=12

What on earth are you talking about?! :rolleyes:

haiphonglove
03-02-2006, 11:19 PM
use : vbseo write of VBSEO TEAM !

www.vbseo.com

Good Job !