Make Wordpress Faster Part II
This is an addendum to Make Wordpress Load Much Faster. Just a few more tips to get more speed out of your Apache/Wordpress installation.
Archive for the ‘Servers’ Category.
This is an addendum to Make Wordpress Load Much Faster. Just a few more tips to get more speed out of your Apache/Wordpress installation.
For users who had disabled or turned off post revisions tracking or versions history feature in WordPress (added since WordPress 2.6), it is also made sense to delete and remove all existing stored post revisions and changes made on pages stored in the database in order to reduce the wp_posts table size, especially when there is already tons of revisions or changes been kept.
Continue reading ‘How to Delete Existing WordPress Post Revisions Stored/Saved’ »
Another new feature in WordPress blog publishing system added since WordPress version 2.6 is post revisions tracking similar to version control system, which provides Wiki-like style tracking of edits been made onto the posts or pages. Post revisions tracking allows bloggers and authors to view who, on when, made what changes to any post or page, with ability to compare for differences between each saved versions, or revert back to older version.
Continue reading ‘Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above’ »
opinion.tuxtraining.com is(was) a separate wordpress instance as it really does have little to do with this site and I wanted a degree of separation. I did not want user accounts at that site, nor did I wish to run ads. It’s more for my own amusement than anything and definitely has nothing to do with Linux tutorials and howtos.
Well I neglected it for far too long, it did not have akismet installed , and so when I logged in I had 2000+ spam comments waiting for me. Now I wasn’t about to delete 100 pages of comments manually one page at a t ime through the wordpress interface.
So this is what you do:
Log into your webhost and open up mysql, do a use <databasename> to switch to the appropriate database and issue the following command:
mysql> DELETE FROM wp_comments WHERE comment_approved = ‘0′;
Any comment that has not been approved will now be deleted.
Software installed and functioning by the end of this walk through :
First off grab a copy of FreeBSD 7.1 from http://www.freebsd.org/where.html
Once you have FreeBSD installed we can start.
Continue reading ‘How to setup a FAMP (FreeBSD, Apache, MySQL & PHP) server’ »
First and foremost get the buttons that you would like to use. Then download the images and upload them to the /images folder in your current theme.
Continue reading ‘How to have wordpress social buttons without plugins’ »
Let’s say for example we want to chroot the user someuser to their home directory /home/someuser. You will need to edit /etc/proftpd.conf and add the lines below to the bottom of the file.
DefaultRoot /home/someuser someuser
Let’s quickly explain the line above. DefaultRoot is the parameter used by proftpd to enable the jail functionality. someuser is the primary group of all users being chrooted (by default this is the same as the username). /home/someuser is the directory where the user will be jailed.
Save the file and restart proftp.
sudo /etc/init.d/proftpd stop
sudo /etc/init.d/proftpd start
And you’re all done.
If you are suddenly receiving a lot of request within a short period of time because you’ve been linked by a large site like Digg or Slashdot, your hosting solution might not be able to handle the load.
This article should help your to prepare your WordPress blog for such a case or if you’re just using a slow webhost and want to improve the general performance.
Insert a line similar to the one below into your .htaccess file in your web server’s document root:
deny from 10.205.111.43
And all connections from that IP will no longer be able to view your site.