Fixing a WordPress Problem – Downloading a File Instead of Executing

Good afternoon.

HOW TO WIN WITH UPDRAFTPLUS, AN EDITOR, AND AS MANY BACKUPS AS YOU CAN GATHER

Today I played Spades. Spades you say, I love that card game. 

Yeah, well most of the day it was an uphill battle, but indeed I won.

 

Executing WordPress and Getting a Downloaded Empty File?

What you say, I’ll play my Ace. Well, that was a little premature, but I did find a fix although that wasn’t the first or last fix of the day.

Edit your .htaccess file and add these two lines:

 

AddType application/x-httpd-php .php .html

AddHandler php-script .php .html

or

AddHandler application/x-httpd-php5 .php

 

or

Completely obliterate all the excess stuff and do this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Have a happy DAY!

 

What really saved my bacon and let me match my bid, get the website back up and WIN?

UpdraftPlus – Even though GoDaddy discourages it and I went it alone with FTP, I bit the bullet and restored an earlier backup that wasn’t showing well with just the raw file upload.

and

I learned a lot – I use Divi for WordPress and I will now not only export and save my page and individual section and module layouts – I will export them. The only thing that didn’t work was exporting the Divi Customizer – I will work on that. I will download the completed files to my local desktop/i.e., external drive, AND I will take a right click SAVE of each html web page always!