最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

browser compatibility - Internet explorer not finding right content from multisite

programmeradmin1浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

So 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....

发布评论

评论列表(0)

  1. 暂无评论