简体   繁体   中英

I have two websites on one host & one of them redirects to the other one and gives a 301 status code

I've designed two wordpress websites and have put them both in one host. now, one of the website's url redirects to the other one. developer tools shows "status code:301 moved permanently" and "x-redirected-by: wordpress" I have no idea where to look for the problem. https://gcatalyst.org/ https://madtlabs.com/ thank you

When you put both websites in one hosting take care that you have pointed the document root correctly from the hosting panel for both the domains to their respective wordpress installation folders. Also check the .htaccess files in the root if you have any existing redirection setup there or not.

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