I've just rebuilt an old website with wordpress for a client. The old website had all its pages as https://
I want to redirect all those https pages to http The old pages were in format like this: https://example.com/index.php?stm_a=23&开发者_运维知识库m=279&r=98ab55fe446d960a&rid=98ab55fe446d960a and I have to redirect those to new permalink structure like: /about/ /contact/ etc
I tried redirecting all traffic from https to http using the info here to no avail
My current htaccess file reads:
# 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
Appreciate any help I can get. Kind regards, Mihai
After RewriteEngine On
, try adding the following:
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
精彩评论