admin管理员组文章数量:1316980
Okay, so this is at weird one. I only encounter this issue in IE and no other browser.
I have a wordpress multisite installation where I have content on: example and example/sub-installation
So there is a front page when a user accesses: example/sub-installation
The front page does show up when you access it. However, the content of that page is supposed to change if the user is logged in. SOMETIMES that content won't change when the user is logged in.
When I click F12 and check the Network tab, it seems like the issue occurs because the browser tries to access a sub-page to example and not example/sub-installation:
When it looks like this the page works as intended:
Is there a way to prevent this?
Does anybody know why it only does this sometimes?
I figure that I could just change the URL for the sub-installation, but is there anything else or?
*edit
So, I see that the likely reason I because Internet Explorer is hit with a 304 redirect trying to access a sub-page to the example installation, whereas every other browser is hit with a 301 redirect and thus tries to access the sub-installation instead....
Does anybody know why Internet Explorer is the only one receiving a 304?
And what can I do to prevent this?
Okay, so this is at weird one. I only encounter this issue in IE and no other browser.
I have a wordpress multisite installation where I have content on: example and example/sub-installation
So there is a front page when a user accesses: example/sub-installation
The front page does show up when you access it. However, the content of that page is supposed to change if the user is logged in. SOMETIMES that content won't change when the user is logged in.
When I click F12 and check the Network tab, it seems like the issue occurs because the browser tries to access a sub-page to example and not example/sub-installation:
When it looks like this the page works as intended:
Is there a way to prevent this?
Does anybody know why it only does this sometimes?
I figure that I could just change the URL for the sub-installation, but is there anything else or?
*edit
So, I see that the likely reason I because Internet Explorer is hit with a 304 redirect trying to access a sub-page to the example installation, whereas every other browser is hit with a 301 redirect and thus tries to access the sub-installation instead....
Does anybody know why Internet Explorer is the only one receiving a 304?
And what can I do to prevent this?
Share Improve this question edited Nov 9, 2020 at 10:30 Mark Pedersen asked Nov 6, 2020 at 14:43 Mark PedersenMark Pedersen 113 bronze badges1 Answer
Reset to default 0So this is in no way the best solution, but it seems like the issue in Internet Explorer occurs when the browser is trying to access just the URL: example/sub-installation
When I simply add a slash to the end of it, the browser will try to access the front page on example/sub-installation and not try to access a sub-page to example.
It doesn't really solve the issue for good, but it works for now....
本文标签: browser compatibilityInternet explorer not finding right content from multisite
版权声明:本文标题:browser compatibility - Internet explorer not finding right content from multisite 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742008071a2412365.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论