Hi all,
I need to redirect some old pages to modx documents and I don’t know at all about mod_rewrite
The old page was accessible here : h**p://www.globword.fr/commander-traduction/commande-traduction.php
The new adress is : h**p://www.globword.fr/traduction-en-ligne/Commandez-une-traduction.html
I’ve unsuccessfully tried to add some changes to .htaccess
#here are the changes
#permanent redirect
Redirect 301 /commander-traduction/commande-traduction.php http://www.globword.fr/traduction-en-ligne/Commandez-une-traduction.html
#end of the changes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# If your MODx installation is in a subdirectory, change the following line to match the physical
# path to the "root" of the site as follows:
# RewriteRule ^(.*)$ /path/to/subdirectory/index.php?q=$1 [L,QSA]
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
With these (i.e redirect function) changes when i’m calling the old page, the redirect doesn’t work and here is what i’ve got in the location bar:
h**p://www.globword.fr/traduction-en-ligne/Commandez-une-traduction.html?q=commander-traduction/commande-traduction.php
Does anybody know how I could solve this issue cause I’ve got to rename some of my pages and I’d like search engines be informed of theses changes
Thx for your help