rewrite users url

Discuss practical ways rearrange URLs using mod_rewrite.

rewrite users url

Postby fulgorek » Wed Jul 14, 2010 12:18 pm

my site uses this URL to get a profile
Code: Select all
http://mydomain.com/profile.php?username=username

i need to change to
Code: Select all
http://mydomain.com/username

the problem is i have another pages like
Code: Select all
http://mydomain.com/help
http://mydomain.com/start

obviously these aren't users but are parsed like users.

any idea how to fix it?
fulgorek
 
Posts: 2
Joined: Sat Nov 08, 2008 11:22 am

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron