September 1, 2009 in Wordpress How To | Comments (0)
You can Delete WordPress Revisions easily by using a SQL statement:
DELETE a,b,c
FROM wp_posts a
LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)
WHERE a.post_type = 'revision'
Tested on WordPress 2.8.4
August 19, 2009 in Wordpress How To | Comments (0)
In the core functions.php file of your theme, add this right before the last ?>
remove_action(‘wp_head’, ‘wp_generator’);
This will remove the wp version header information that hackers can use to determine what weaknesses you have. By adding that line, the fingerprint they search for is not present in your wordpress install.
August 7, 2009 in Wordpress How To | Comments (0)
So you get a new wordpress theme and the CSS formatting is toast. The theme css has too many spaces, or inconsistent tab/space and you can’t figure out what the heck they were thinking. Well, troubleshooting a mess of CSS code can be difficult unless you have a way to format it nicely.
Try this CSS Formatter: CSS Formatter
What does the CSS Formatting Tool do?
- standardize your CSS code spacing for easier troubleshooting
- compresses CSS code for faster downloads
- helps tremendously with sloppy CSS code!
Make sure and socially book mark it so others can find it too!
July 15, 2009 in Wordpress How To | Comments (0)
Wordpress Security Hacks
Wordpress Security should be on your mind if you have a wordpress site. 99% of wordpress installations are not secure, especially if they are on a shared hosting solution.
(more…)
in Wordpress How To | Comments (0)
Revisions are good for multiple authors but confuse most of my clients and they clog up the database too.
To disable wordpress revisions, add this to your wp-config file:
(more…)