R1Soft Restoring a mySql file from server from .frm- no .sql file available

Every MySQL table you create is represented, on disk, by a .frm file, which describes the table’s format (i.e. the table definition). Those files are essentially the core files for MySQL MySQL reads the files to create your databases. If you need to restore a database, your best bet would be to restore /var/lib/mysql/(database) This [Read More →]

Posted in wordpress fix. No Comments »

Turn off Uploads to Year Month folders on WordPress and WP Multisite

0 = No (uploads will go to /wp-content/siteid/files/) 1 = Yes (uploads will go into the growing and bewildering folder structure of year/month) Click here to read exactly how to change year/month in WordPress and WP MU

White screen in WordPress – turn on your debug to find out what’s broken

http://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG

WordPress Multiuser – sub sites not loading after changing root domain

Problem: By installing WP MU sub sites before adding your domain name to your main blog (root site), the sub sites will instantly break for your users. They will not see their website or be able to login to their WordPress admin. Fix: You’ll have to edit the database with PHPMyAdmin: wp-dbname->wp_blogs>go through each blog [Read More →]

WordPress multisite wildcard redirect .htaccess example

Steps to make a WordPress MU wildcard redirect work (using subdomains): Cpanel -> Subdomains -> Add subdomain -> Subdomain: * . mywebsite.com, document root /public_html Then add this code to your .htaccess file: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] [Read More →]

Posted in wordpress fix. No Comments »

WordPress MU Wildcard subdomains can fail after server migration – Multisite sites not available

If your WP MU sub sites are not available, but the main website is, this could be due to a bug in Cpanel with website migrations: I found this out when a WordPress MultiSite installation no longer loaded the sub sites, only the main site. Turned out the server had just been migrated. The wildcard [Read More →]

Posted in wordpress fix. No Comments »

Installing WordPress Multiuser subdomains – not working problems

WordPress Multisite install and setup with working subdomains: 1) Install WordPress stand alone in your public_html folder (Multiuser will not work with subdomains if it’s in a subdirectory), set it up so that it loads the default WordPress blog page. 2) Now connect to your website via FTP and edit wp-config add above “that’s it [Read More →]

WordPress Redirect loop!

If your WordPress redirects in a way that will never complete: (“Firefox has detected that the server is redirecting the request for this address in a way that will never complete.”) The WP database was corrupted. I had to go to an old WordPress backup, lost my latest posts and comments and then plucked them [Read More →]

Posted in wordpress fix. 2 Comments »

Cannot see updates to WordPress website – sticky cache

Here’s how to clear your browser cache without going into your menus. This applies to Firefox, Internet Explorer, Safari and Chrome. Note: CSS changes can cause a really sticky cache when background images are changed, they tend not to update unless you clear your cache.

Paragraph spaces in WordPress editor – how to remove space between paragraphs

If you press and hold the “Shift” key while you hit the “Enter” key it the WordPress editor will give you the secret next line instead of the new paragraph! If you simply hit the “Enter” or “Return” key on your keyboard it will create a new paragraph.