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! 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] Link to comment https://forums.phpfreaks.com/topic/163741-rewrite-wwwwebsitecomindexphpwishlistusername/#findComment-883146 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.