admin管理员组文章数量:1416651
I have tested this on 2 different servers, new install of multisite and in both cases if www is not included in the url then you are redirected to the site root.
I tried a new install, no plugins and default theme: targetremarket/test/site-template/ no www, installed in "test" sub folder.
That will redirect to / (site root)
I have an older install on same server that works fine so copied the htaccess from that but no luck.
Tried on another server, different domain, fresh wp install through cpanel and without www: virtualgeorge.xyz/targetremarket/ (sub site)
redirects to: / (also redirects to root)
I having some other strange behaviours which I assume is also due to this redirect issue. How could I correct this, am I doing something wrong on setup?
Any tips much appreciated.
I have tested this on 2 different servers, new install of multisite and in both cases if www is not included in the url then you are redirected to the site root.
I tried a new install, no plugins and default theme: targetremarket/test/site-template/ no www, installed in "test" sub folder.
That will redirect to http://www.targetremarket/test/ (site root)
I have an older install on same server that works fine so copied the htaccess from that but no luck.
Tried on another server, different domain, fresh wp install through cpanel and without www: virtualgeorge.xyz/targetremarket/ (sub site)
redirects to: http://www.virtualgeorge.xyz/ (also redirects to root)
I having some other strange behaviours which I assume is also due to this redirect issue. How could I correct this, am I doing something wrong on setup?
Any tips much appreciated.
Share Improve this question asked Dec 14, 2016 at 20:25 George BGeorge B 13 bronze badges1 Answer
Reset to default 0I finally got this sorted. During setup using the installer for cpanel, I had to choose the option to install on my domain WITHOUT www. I was just leaving the default setting which used www and it was causing some issues.
本文标签: multisiteMulti site sub sites redirect to root if www is NOT used in url
版权声明:本文标题:multisite - Multi site sub sites redirect to root if www is NOT used in url 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745255166a2650055.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论