Skip to main content

Wordpress page is getting downloaded instead of displaying

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! This is almost always an issue with one of two things - a problem with the .htaccess file on the domain, or an issue with the PHP handler. You'll need to keep the default WordPress data in the .htaccess file, which looks like this, although your PHP version may be different: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress order allow,deny allow from all # php -- BEGIN cPanel-generated handler, do not edit # Set the "ea-php56" package as the default "PHP" programming language. AddHandler application/x-httpd-ea-php56 .php .php5 .phtml # php -- END cPanel-generated handler, do not edit
    but could you try renaming the .htaccess file temporarily so it can't be read by the system to see if that is the issue?
    0
  • Riyaa
    Okiee I'll try with this and get back to you
    0
  • Riyaa
    @cPRex q-dat.in This is the link .. for ur reference to analyse my problem
    0
  • cPRex Jurassic Moderator
    I don't see any links included, but we don't allow sites to get posted publicly on the forums for security reasons. If you have root access to the system and you aren't able to track down the problem you're always welcome to open a support ticket with our team so we can check the server directly.
    0
  • jmorthland
    I had the same issue after making changes to EasyApache, my version of php was removed for some reason and once that was resolved then all worked fine afterwards
    0

Please sign in to leave a comment.