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.

Was this answer helpful?

Also Read

How to remove the default page on a new website

All new web hosting plans have a place holder page to show the website is working. You'll need to...

What is the code to update the Kernel from the root command line?

Using YUM is the easiest way to update your Kernel to the latest version within it's major...

The difference between Addon, Parked, and Sub Domains?

There are three domain types. (Parked, Sub Domains, Add on, )1. Parked domain: A parked domain is...

How to use PHP-CLI

You would call '/usr/local/bin/php' if you need the php-cli binary, and '/usr/bin/php' if you...

Can I change my web hosting main domain name?

Yes, and it's very easy.Just add a support ticket like this:  old: olddomain.comnew:...