This happens on Firefox too. It's not my network problem because this doesn't happen with any other sites. Also might be a virus or program you installed that open gzip so the browsers think they should download it. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more.
Browsers download the pages instead of displaying them [closed] Ask Question. Asked 10 years, 6 months ago. Active 4 years, 4 months ago. Viewed 9k times. Improve this question. Jeff Atwood k gold badges silver badges bronze badges. The most likely explanation is that your Alt key on your keyboard is stuck.
It also doesn't happen on anyone else's computer. Have you tried clearing your browser cache and restarting it? Also, please update your question to include more details about your browser version, operating system version, etc. I guess this is caused by the excessive first two lines. Browsers Chrome and Safari Try to download this html file when opened. It is only on that link that it tries to download it. Also note that internet explorer opens it without a problem.
The one thing that I think is causing this may be wordpress or some plugin within wordpress but it seems unlikely since no wordpress is used in that page. Likely an incorrect mime type in your. I suggest going into it and looking for any unwanted lines similar to the below and removing them. In order to open. Then the. One possible cause is that there is a problem with your server configuration that is giving the visiting browser the wrong mime type.
You appear to be running Apache. As a result there are two possible files that could be causing this, either in. Try adding the text below to a. I've had this issue a couple of times. The problem for me was the web server was automatically handling PHP requests outside of the. For some reason, changing settings in WordPress would sometimes cause a change in the.
This would cause the server to burp at every PHP request thereafter and attempt to serve the file instead of handle it. The solution, then, was to manually remove the handler that was automatically added to the.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Chrome correctly just downloaded your front page script file — and it has cached that result, showing it to you again and again. A simple curl invocation will confirm this, just goes to show how useful simple command-line tools can be.
HTML etc. Firefox is fine, however about:preferences, settings, applications. Yeah, but if that happens for other users? How will they know to just go clear the Browsing Data? Please why download the page link when you click on it instead of displaying the note and you experience this problem in all chrome browsers And fayrfox and Microsoft edge At the same time on an Android mobile phone. On Windows, this opens the file in Notepad.
Would like to know how to read any. It started to happen to me as well, tried clearing my browser history. Still no luck, can someone help me understand why? I need to my site to work. Even i have the same problem, In my case http requests are giving problem and https no issues , I using nginx reverse proxy.. If someone can help here Thanks. Your email address will never be published. Subscribe to this comment feed via RSS.
0コメント