Why is Chrome downloading HTML files instead of opening?

Why is Chrome downloading HTML files instead of opening?

The answer is simple: you visited your unfinished site in Chrome before it was configured correctly. Chrome correctly just downloaded your front page script file – and it has cached that result, showing it to you again and again. At least Chrome has the choice of time period, to avoid having to erase the entire cache.

Why does wordpress download a page instead of opening it?

There are tens of reasons which can cause this issue of downloading files instead of opening in browser. But mainly you get this issue due to poor hosting provider, any deflect in cache plugin you’re using on your website, or you messed up with the . htaccess file.

How do I change the download file in Chrome?

Change download locations

  1. On your computer, open Chrome.
  2. At the top right, click More. Settings.
  3. At the bottom, click Advanced.
  4. Under the “Downloads” section, adjust your download settings: To change the default download location, click Change and select where you’d like your files to be saved.

Where are Safari Downloads stored?

iCloud Drive
By default, the downloaded files are saved to the Downloads folder in iCloud Drive in the Files app. This is a great option if you have a paid iCloud storage plan because it allows your downloaded files to instantly sync across all your devices.

Why is Google Chrome downloading the source file?

A lot of developers are experiencing the same problem: while all other browsers display your latest web creation perfectly, Chrome just downloads the script source file – yes, source. Several support threads describe the same problem, suggesting everything from security flaws and misconfigured servers to a chrome bug.

How to fix chrome downloading file instead of page?

A simple curl invocation will confirm this, just goes to show how useful simple command-line tools can be. Finally..solved! The solution, with the cause now found, is equally simple: menu, settings, scroll to bottom, click advanced, click clear browsing data and select how long a time you have been frustrated: last day usually does it for me.

Why is Apache downloading PHP files instead of displaying them?

After updating PHP to 7.3, PHP scripts where run with www-data instead of $USER like before. I needed to reinstall and activate PHP-FPM : To ensure everything was ok for Virtualmin, i used the Re-Check Configuration wizard /virtual-server/check.cgi, under Vitualmin / System Settings.

How is a SharePoint file downloaded instead of opening the office application?

Assume that you have Microsoft Offices Online in a SharePoint farm. When you open a URL (like http://sharepointserver/Shared%20Documents/DateTest.docx) to a SharePoint document by using the Chrome browser, the document is downloaded directly instead of opening the Office application with a direct connection to the document on SharePoint.