gabrielkolbe Posted June 26, 2009 Share Posted June 26, 2009 Hi I have scanned the forum but can't seem to find the answer to this, I have tried various solutions without success. Maybe someone can help. I want to rewrite www.website.com/index.php?wishlist=username To www.website.com/wishlist/username or www.website.com/username I don't want it to end in username.html or username.php Help will be greatfully received! Quote Link to comment https://forums.phpfreaks.com/topic/163741-rewrite-wwwwebsitecomindexphpwishlistusername/ Share on other sites More sharing options...
lifetalk Posted July 26, 2009 Share Posted July 26, 2009 This should do it.. RewriteEngine On RewriteRule ^/wishlist/(.*)$ index.php?wishlist=$1 [L] Quote Link to comment https://forums.phpfreaks.com/topic/163741-rewrite-wwwwebsitecomindexphpwishlistusername/#findComment-883146 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.