Be the next Internet Millionaire JOIN the MillionaireLeague
Powered by MaxBlogPress 

10 Mai 2008

Creating a Robots.txt for a WordPress Blog

Posted by Duckeldannys Money Blog under: General; Net News; Wordpress; seo .

Ask Apache is offering a Robots.txt file and updated Robots.txt file that you can download and use for your blog. You’ll of course want to customize it to meet your needs, including adding any directories that you have created since installing the base WordPress install that you don’t want them to be indexed.

Here are some other nice tips of askapache.com

I like most the “header.php meta seo trick”

Place this in your wordpress themes header.php file, if the page is a single, page, or if its the home page then the robots will index and follow links on it. Otherwise search engines will not index the pages but will still follow the links.

<?php if(is_single() || is_page() || is_home()) { ?>

<meta name=”googlebot” content=”index,noarchive,follow,noodp” />

<meta name=”robots” content=”all,index,follow” />

<meta name=”msnbot” content=”all,index,follow” />

<?php } else { ?>

<meta name=”googlebot” content=”noindex,noarchive,follow,noodp” />

<meta name=”robots” content=”noindex,follow” />

<meta name=”msnbot” content=”noindex,follow” />

<?php }?>




2 Comments so far...

Debt Consolidator Says:

13 Mai 2008 at 04:27.

MyAvatars 0.2

I’m sorry to say, but I don’t think the meta SEO ‘trick’ does all that much for SEO. All you’re doing is telling the bots to do what they already do…

Megapixels Says:

14 Mai 2008 at 02:20.

MyAvatars 0.2

Not sure about the robots.txt file, but the 404 plugin looks pretty cool. I didn’t know the trick about searching your site in the search engines. Guess I’m not privy to all common knowledge;)

Leave a Reply

Ähnliche Beiträge

moneyblog












Recommended Sites

Advertise Here

Subscribe my Feed

Enter your email address:

Delivered by FeedBurner

Most Recent Posts

Archive

Kategorien

Links