0
我刚刚用wordpress为客户重建了一个旧网站。旧的网站有它的所有页面为https://开头通过htaccess将旧的https重定向到http内
我想重定向所有https网页到http 旧的页面均格式是这样的:https://example.com/index.php?stm_a=23&m=279&r=98ab55fe446d960a&rid=98ab55fe446d960a,我必须重定向这些新的永久链接结构,如: /约/ /联系人/ 等
我想重定向所有流量从https使用info here无济于事到http
我现在的htaccess文件上写着:
# 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
感谢任何帮助,我可以得到。 亲切的问候, 米哈伊
谢谢Ravij! 现在,当我尝试访问https://中的网站索引时,我将其重定向到默认页面/cgi-sys/defaultwebpage.cgi,其中显示了如下内容:“如果您觉得您错误地访问了此页面,请联系网站所有者:等“ – user684511
它应该重定向到什么? –
https(root)应该重定向到http(root)。 https子页面应重定向到http子页面。 – user684511