Using htaccess to redirect from a ?q= stub.
-
Good morning!
I am trying to redirect users from an old download page URL (website.com/?q=downloads) to a new download page URL (website.com/downloads). I’ve tried adding a redirect in the htaccess file
Redirect 301 /?q=downloads /downloads
This does not redirect the users, however. It just takes them to the home page. I’ve triedRedirect 301 /test /downloads
and it works just fine… I understand ?q= does something with the way the URL is accessed, and isn’t just a random clump of characters. Is there a way I can redirect from website.com/?q=downloads to website.com/downloads just using the .htaccess file, though?Thank you for the help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using htaccess to redirect from a ?q= stub.’ is closed to new replies.