Internal Server Error every time I push up my WordPress Project to Heroku

The problem ended up being that the wp_rewrite was not flushed on the push to the Heroku server. So, what I ended up doing was creating a file in the root directory with the following code: <?php global $wp_rewrite; $wp_rewrite->flush_rules(); ?> Then I added a deploy hook for heroku via command line heroku addons:add deployhooks:http … Read more

Site no longer working following server crash – how to restore it

Since you do have ftp access, edit your wp-config.php add these lines: @ini_set(‘display_errors’,0); define(‘WP_DEBUG’, true); // Turn debugging ON define(‘WP_DEBUG_DISPLAY’, false); // Turn forced display OFF define(‘WP_DEBUG_LOG’, true); // Turn logging to wp-content/debug.log at the same time, comment out any lines that define WP_DEBUG as false. Then do a page reload and finally look at … Read more

Internal server error

Assuming that www.example.com/site1 is the 1st site (in the root folder site1 folder), and www.example.com/site2 is the second site (in the root folder site2 folder. The easiest way (normally) to clone (or move) a site is to use the excellent WP-Clone plugin to backup and restore the ‘site1’ site to the root. But, you will … Read more

Internal Server Errors – Moving working multi-site install to my localhost

For anyone who stumbles across this, the issue lied within my wp_2_options table (the options for my second site within the multi-site). Whereas for the most part you can forego the http:// before your localhost domain, in this table you cannot. This was causing issues when attempting to upgrade the network etc. I hope this … Read more