How To Avoid Download Web Page Instead Of Display In Wordpress

My website is a WordPress website hosted by bluehost.com. These days i found that when i browse a web page, the browser do not display the web page content but download the page as index.html. This confused me some days. After investigate for a long time, i finally find the method to resolve this problem.

1. Remove AddHandler In .htaccess File.

  1. Go to your website’s public html root folder ( such asĀ  /home1/***/public_html ) .
  2. Open and editĀ .htaccess file.
  3. Remove below AddHandler code ( those code maybe added by some WordPress plugin such as wp super cache when install or uninstall the cache plugin) by comment it.
    # BEGIN WordPress
    
    # AddHandler application/x-httpd-php70s .php
    
  4. Browse the web page again, then you can find the error fixed. If still not fixed then ask your WordPress provider for help.
(Visited 210 times, 1 visits today)
READ :   How To Replace Wordpress Search With Google Custom Search

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.