Why is Chrome downloading HTML files instead of opening?

Why is Chrome downloading HTML files instead of opening?

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. And then click Clear browsing data.

Why is a website downloading instead of opening?

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 . htaccess or in one of Apaches configuration files.

How do I open an HTML download file?

If you’re already running your browser, you can open an HTML file in Chrome without having to locate it on your computer first.

  1. Choose File from the Chrome ribbon menu. Then select Open File.
  2. Navigate to your HTML file location, highlight the document and click Open.
  3. You will see your file open in a new tab.

How do you save a HTML file?

Saving HTML Documents

  1. On the main menu, click File > Save.
  2. On the HTML editor toolbar, click the Save icon .
  3. Press CTRL+S.
  4. Right-click within the HTML document, click File > Save. If the file has never been saved before, CuteFTP opens the Save As dialog box.

How do I stop Chrome from downloading HTML?

Google Chrome: Disable Automatic Downloads

  1. In Chrome, select the menu at the upper-right corner of the screen, then choose “Settings“.
  2. Select “Site Settings“.
  3. Expand the “Additional permissions” settings.
  4. Choose “Automatic downloads“.
  5. Toggle the switch to the desired setting.

How do I make Chrome download instead of opening?

Click on “Settings” and you’ll see a new page pop up in your Chrome browser window. Scroll down to Advanced Settings, click Downloads, and clear your Auto Open options. Next time you download an item, it will be saved instead of opened automatically.

How do I fix file download error when opening a website?

Here is the best method on how to fix the “WordPress download file instead of opening in browser” error without any issue.

  1. Update Your Server. First of all, you need to make sure that your server is up-to-date.
  2. Uninstall Cache Plugin from WordPress.
  3. Remove addHandler Code your .
  4. Replace complete .
  5. Change Hosting Provider.

How do I download instead of open browser?