Wordpess site downloads a file

Wordpess site downloads a file

wordpess site downloads a file

i'm using wordpress, nginx, mySQL, php , ubuntu and below is my nginx file. I just get a download file instead of the website. server. Brief Breakdown Why WordPress Tried To Download File Instead of Load Site · The problem could be caused by using invalid/incorrect php/php. ini handler. You need to firstly download and install the WordPress file download plugin from your WP dashboard. Log on the admin panel of your WordPress site. wordpess site downloads a file

Wordpess site downloads a file - for the

WordPress download file instead of opening site

I encountered this problem with a WordPress site and this is how I fixed it.

  1. I checked my file manager to see how many .htaccess files I had uploaded to the root folder on my server.
    1. If I had multiple I would have deleted one and made sure the other had all the essential commands in it.
  2. I only had one, so I checked whether it was referencing a PHP version that my server may not be running.
    1. My .htaccess file reference PHP 70 and I was pretty certain this wasn&#;t what my server was running.
    2. I commented out the line containing the PHP reference and voila I was back in business.

#AddHandler application/x-httpd-php70 .php

Brief Breakdown Why WordPress Tried To Download File Instead of Load Site

  • The problem could be caused by using invalid/incorrect php/www.cronistalascolonias.com.ar handler .htaccess code in the root .htaccess file.
  • There could have been a php/www.cronistalascolonias.com.ar handler code in the wp-admin .htaccess file when the wp-admin .htaccess file should not have any php/www.cronistalascolonias.com.ar handler code in it.  
    • The php/www.cronistalascolonias.com.ar handler .htaccess code should only be in the root .htaccess file. If that was the case I would have tried deleting the wp-admin .htaccess file and see if that solved the problem.
  • There could be a .htaccess file higher up in the hosting account folder structure that has invalid php/www.cronistalascolonias.com.ar handler .htaccess code in it.
    • That is what I originally checked for in step 1.
  • Another problem could be that the hosting provider was upgraded and not configured correctly.
    • I think this shouldn&#;t be your first conclusion.

There are a couple other reasons why you may have run into this problem, but I think this is a good start to troubleshooting the problem.

 

Good luck.

Источник: www.cronistalascolonias.com.ar

Wordpess site downloads a file

0 thoughts to “Wordpess site downloads a file”

Leave a Reply

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