I’ve been dealing with a slow WordPress site for a while. In fact, it’s a whole series of slow WordPress sites. This site, along with a group of WordPress sites running in multi site, have never been quite as snappy as I’d like. And that’s weird considering that I’ve got another WordPress site running extremely… Read more »
Posts Tagged: htaccess
Blocking Baidu
Went through this a year or so ago. The Baidu spider was hammering a forum and I blocked it because after hundreds of thousands of hits they sent me a grand total of 1 visitor. Let it sit for a while and then removed the block to see what would happen. Today I noticed that… Read more »
htaccess to deny access, except for includes
It’s usually a bad idea to allow php include files to be directly accessed. My general method is to either declare a constant in the index.php and check for that constant in the included file or make sure that the included file doesn’t match $_SERVER[‘REQUEST_URI’]. Sure, either of those work. But I came across a… Read more »
Recent Comments