View Full Version : .htaccess Help please
Pixzo
19-07-2008, 11:50 AM
Hey,
I was wondering if it be possible for anyone to help me out with .htaccess
I am trying to make somthing for example
add?user=chris
As the URL Shown,
And the url it covering up somthing like
add.php?user=chris
Thank you,
Source
19-07-2008, 12:28 PM
Here is how to make it
www.yourdomain.com/add/username (http://www.yourdomain.com/add/username)
RewriteEngine on
RewriteRule ^add/([A-Za-z0-9-]+)/?$ add.php?username=$1 [L]
That will be what add.php?user=username does with a nice friendly url.
Hope it helps.
Pixzo
19-07-2008, 12:31 PM
Thank you very much,
I will +REP you but i have no rep power
If i ever get some rep power, i shall rep you in the future
VPSwow
19-07-2008, 12:33 PM
Il rep him for you :)
Pixzo
19-07-2008, 12:35 PM
Il rep him for you :)
Thank you very much :)
I now owe you rep
Source
19-07-2008, 02:46 PM
Glad I could help.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.