My page just downloads instead of loading

In most cases if you page downloads instead of opening, it's because there is some bad or outdated code in your .htaccess file.

To check your .htaccess file, you would normally use the file manager in your cPanel. In the file manager you will need to choose to see hidden files. Once this is chosen, it will show your .htaccess file. Normallythe file is in the public_html folder but sometimes it can be in a custom folder or in the website root folder. 

Check each .htaccess file for this code: 
AddType application/x-httpd-php5 .html .htm

Remove this code and save the file.

This is code that is not needed anymore, it was only used on older versions of PHP.

Hopefully that is all you need to do so check the file by clicking refresh in your browser.
  • download, won't load, php error, html error, load, cpanel, public_html, folder, htaccess, code
  • 11 Users Found This Useful
Was this answer helpful?

Related Articles

Where is the servers located?

The main servers are located in Los Angeles. We also have backup servers in Las Vegas and round...

How is your web hosting so fast?

To be honest it's not one big thing although there is a couple more expensive things we do to be...

How to flush your DNS cache

Your home computer creates a cache for all DNS settings. It does this to save time each time you...

What is the root login for my new VPS server?

The root login is the same password our system sent you in your welcome email. You just change...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl