Posts Tagged ‘ wordpress ’

Lessons learned about speeding up WordPress and an apache webserver in general

Nov 8th, 2011 | By

Alright so I’ve been struggling with this for quite some time.  I run 60-70 wordpress blogs that make up a large network of travel websites providing information on news, restaurants, hotels, events and job postings for every major city in north america.  Chances are if you’ve searched one of those things for a particular city
[continue reading...]



Is your wordpress home page displaying a 404 error all of a sudden?

Nov 7th, 2011 | By

Just went through troubleshooting this for a friends site and thought I’d post teh fixes..There are two main possibilities here: You have no posts(ie: you even deleted the default post wordpress comes with In the ‘Reading Settings’ you’ve changed the front page from ‘display latest posts’ to ‘A Static Page (select below) The key with
[continue reading...]



Timthumb Exploit causing plethora of sites to redirect to Russia

Oct 13th, 2011 | By

UPDATE: Site hacked again, teaches me for not removing the backdoors.  Details on how to find those below Well what a delight that I checked on one of my old unused sites to find malware warnings and it redirecting me to http://placecollocation.ru/ .  This of course made me look a little closer as it’s folly
[continue reading...]



How to have wordpress load plugins in a specific order

Apr 19th, 2011 | By

Or more specifically in this example how to get wordpress to load a specific  plugin before all others.  By default wordpress will load your plugins in alphabetical order as for the most part 99.99% of people could care less and are unaffected by plugin execution order.  However for that .01% of us(don’t you feel special
[continue reading...]



Disabling Breadcrumbs on only the home page for WordPress

Apr 1st, 2011 | By

Just spent a few minutes figuring this out, being a completely n00b with php it ended up being really simple. Just replace the bottom line of your header.php where it includes breadcrumbs with the following code: <?php if (is_home()) { ?> <?php } else { ?> <?php include (TEMPLATEPATH . ‘/breadcrumbs.php’); ?> <?php } ?>



How to use php includes inside of a wordpress post?

Apr 1st, 2011 | By

Unfortunately traditional Server side includes don’t work for loading external pages on remote domains/servers, or at least not that i’ve been able to find so far.  After a bit of research I’ve found two separate solutions to this: 1.) The first solution is the more secure solution and is specifically for scenarios where you, the
[continue reading...]



How to disable wordpress autoformatting (
and

tags)

Apr 1st, 2011 | By

I posted a few days ago about how to prevent wordpress from inserting <br \> and made a note that I would have to do a bit more research to figure out how to disable the <p>’s .  Well a bit more research later I’ve found the solution to getting rid of all the bloody
[continue reading...]



How to Prevent wordpress from automatically inserting
tags everywhere

Mar 29th, 2011 | By

One of the more annoying features of wordpress is it’s need to auto-format all of your html to high hell, especially when you are importing posts in html format.  Everytime you have a line break WP will put a <br \> in there, screwing everything up. There are a few plugins around to turn this
[continue reading...]



Deleting Duplicate Posts in WordPress

Mar 15th, 2011 | By

I ran into a little problem today where one of the programs I wrote to create blog posts was creating duplicates during one step of the process.  I haven’t quite figured out why it’s doing it yet however in the meantime I have used it to create and import about 25,000 blog posts and the
[continue reading...]



Importing 1000′s of posts, publishing 1000′s of drafts and mysql fun

Mar 10th, 2011 | By

Alright so for one of my side businesses I am using wordpress as a platform to create large directories for businesses to use to find other businesses.  It’s like a big ass yellow pages but for specific businesses.  Anyways part of the fun has been figuring out how to get 5000-6000 listings per city into
[continue reading...]