简体   繁体   中英

redirects issue in wordpress multisite

Recently I configured my website for https and redirected http to https but now in google page speed, I am getting issue of Too many redirects!

Can be checked at: https://developers.google.com/speed/pagespeed/insights/?url=peterkentconsulting.com&tab=desktop

谷歌快照 And Google explains: Your page has 2 redirects, site is wordpress multisite. Please help me to remove those redirects..

Thanks

Your http to https redirect is not working fine. You should configure all urls:

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

to

https://www.peterkentconsulting.com/

Now as I see your site's all requests are first going to /index.php which wordpress redirects to / in its .htaccess .

You should directly redirect http://www.peterkentconsulting.com/ to https://www.peterkentconsulting.com/

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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