繁体   English   中英

重定向wordpress多站点中的问题

[英]redirects issue in wordpress multisite

最近,我为https配置了我的网站,并将http重定向到https,但是现在在Google页面速​​度方面,我遇到了太多重定向的问题!

可以在以下位置查看: https : //developers.google.com/speed/pagespeed/insights/?url=peterkentconsulting.com&tab=desktop

谷歌快照 Google解释:您的页面有2个重定向,站点是wordpress多站点。 请帮助我删除这些重定向。

谢谢

您的http到https重定向无法正常工作。 您应该配置所有网址:

http://peterkentconsulting.com/ 
http://www.peterkentconsulting.com/
http://www.peterkentconsulting.com/index.php

https://www.peterkentconsulting.com/

现在,我看到您的网站的所有请求都首先要/index.php这WordPress的重定向到/在它的.htaccess。

您应该将http://www.peterkentconsulting.com/直接重定向到https://www.peterkentconsulting.com/

通过在数据库中的wp_site和wp_options表中编辑站点URL来解决。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM