View Full Version : Wordpress Performance Improvement
02-03-2010, 01:31 PM
Hello people. I stumbled upon this post the other day, which made one eyebrow raise and another frown: wordpress Performance (http://www.canonicalseo.com/wordpress-performance-improvement/)
Not being a pro htaccess user, can anybody give me some clarification on whether this amendment to Wordpress's htaccess is viable and safe? Seems like a top way to sort out one of Wordpress's biggest problems, load speed. I'm using a cache plugin but should I be looking at this method as well?
02-03-2010, 02:26 PM
Well I'm going to give this code a go later tonight. Thanks inertia for the info. It's funny cause out of a few wordpress sites I have only one is really slow and I can't figure out why. Maybe this code will help although removing some plugins did help - nothing noticeably much!
I'll get back to you with my results after trying out jdmorgan's code...
02-03-2010, 04:30 PM
Wordpress, or any CMS/templating based site is going to be slow. At least slower than static html files. Wordpress in my experience has always been a little slower.
With that said, just skimming through the article it and not picking the new htaccess apart, it does look like it can help out a bit.
As far as it hurting your site, if you put the new htaccess in, and the site works then it will not hurt the site at all. Typically if you have an error in your htaccess file the site will not load.
You can run load time scripts to see how fast pages load to test, but I'm going to assume that this method will work. I will test it later myself
02-03-2010, 04:36 PM
Download current htaccess to computer instrument of choice
Save as htaccess as htaccessold
Make your edits, delete the current htaccess and upload the new, visit the site and check for any errors.
If none youre good to go and if there are either adjust or put back htaccessold, and rename to htaccess.
02-03-2010, 07:28 PM
Did it. I'm pretty sure that's quite a bit faster. Certainly no reason to change back....