Mark McLaren is a Web Analytics Association Member 2007
Mark McLaren is a Web Analytics Association Member

BarCamp Seattle

Here is the code for Mark McLaren’s (proposed) presentations at BarCamp Seattle June 2008.

FeedBurner and Autodiscovery Tags

If you use FeedBurner, don’t forget to change the autodiscovery tags in you header.php file - the <head> section of your HTML page. Here is a post explaining why you should change autodiscovery tags.

Click here for reasons you may want to use FeedBurner. FeedBurner is owned by Google. Most pro bloggers use it.

With a blog that you host yourself, you can swap the equivalent of the following (using your own FeedBurner URL):

<link href=”http://feeds.feedburner.com/WebMarketingProBlog” title=”Subscribe using FeedBurner” rel=”alternate” type=”application/rss+xml”>

for these: (you want to remove these tags from the <head> section of the HTML)

<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(’rss_url’); ?>” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(’rss2_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(’atom_url’); ?>” />

Here is how to change autodiscovery tags in a TypePad blog.

Increase Your Blog’s Search Ranking: Eliminate Duplicate Content Using NOINDEX

All Content Management System websites (CMS) suffer from the Search Engine Optimization problem of duplicate content. NOINDEX is an effective and systematic way to deal with it.

For reference, the best article on WordPress SEO is by Joost de Valk. Much of what he says applies to all CMS websites.

The NOINDEX technique is simple: in the <head> section of your blogs header.php file, replace anything like this

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

With this

<?php if(is_single() || is_page() || is_home() || is_category()) { ?>
<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 }?>

If there are no robots meta tags in the <head> section of the HTML, then there is nothing to replace. Simply insert the new PHP block above into the <head> section.

At BarCamp, I will talk about the positive results you can expect from this use of NOINDEX.

Popularity: 3% [?]

Leave a Comment


Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Search this site:

Font Size

Technorati Bling

iStockphoto.com stock photography link

Click here to check out
The Seattle PHP Meetup Group!