Hi, I have a simple .htaccess question. I want to 301 redirect this way mysite.com/profile.php?user=username to mysite.com/username/
use this Options +FollowSymLinks RewriteEngine on RewriteRule (.*)/$ /profile.php?user=$1 Code (markup):
When I do that nothing happens. When I go to my old page mysite.com/profile.php?user=username i want the page to be automatically redirected to the new page mysite.com/username/
They will just redirect the same as this but to change the urls in the script u have to modify the code