Help needed for switching a 301 redirection off
-
Hi there kind experts,
I’m currently migrating my WP site to a SSD hosting (on my usual web host), offering a higher version of PHP & MySql. The files have been copied and now, have I to test if everything is nice and tidy before publishing from the new SSD platform.
Through a new FTP account, I updated new names for the Data Base and son on, according to the hosts’s migration guide. When I clik on “test site”, the home pages displays OK through the previsualisation URL.
The issue is that when I test the other pages, they are redirected to the “former” version of the site from the “normal” database.The host support gents tell me I have a redirection that is preventing me from correctly testing the site, and that I have to switch this redirection off for the testing time .
I remember having redirected the home page of a former version of the magazine (made with iWeb) to the new home page made with WP. Alas, I’ve done this five years ago and I don’t remembrer what I wrote in the .htaccess file at that time…
Here is what the .htaccess shows:
Redirect permanent /yesicannes/home.html https://yesicannes.com <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Would somemone please be kind enough to tell what lines must I erase to switch the redirection off?
Many thanks in advance for your help!
Best
The page I need help with: [log in to see the link]
- The topic ‘Help needed for switching a 301 redirection off’ is closed to new replies.