Need help with permanent redirects
-
Hi. I’ve a website (https://www.dhonixpress.com/) which I was running using php includes in the past but just today I installed wordpress. Now, everything is setup fine, I’ve even enabled permanent links. But the problem is, previously the site used urls like:
https://www.dhonixpress.com/index.php?biography
https://www.dhonixpress.com/index.php?achievementsI need to give 301 redirects to these pages. Example:
https://www.dhonixpress.com/index.php?biography should redirect to https://www.dhonixpress.com/biography/ and https://www.dhonixpress.com/index.php?achievements should redirect to https://www.dhonixpress.com/achievements/
For some reason, the usual method doesnt seem to be working… I guess its because of the .htaccess file generated by wordpress? I would appreciate if someone could help me here. My .htaccess file looks like this right now:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
— Naif
- The topic ‘Need help with permanent redirects’ is closed to new replies.