- Nov. 14th, 2006
- 19 comments
Your default WordPress installation has a problem. Your posts slowly get pushed into "pagination death" as they age; your older trusty content gets buried deeper and deeper internally. Furthermore, duplicate content issues plague your category and main listing pages.
Slowly, but surely, every old post in your WordPress blog gets buried under 50 pages of other posts. Slowly, but surely, all of the duplicate content adds up.
I saw this post on Digg.com today, and although it has merit, it doesn't dive into gory technical details like I will here. There are really only 2 or 3 things you have to do to improve the SE-friendliness of WordPress substantially:
1. Change the pagination to look like this:
I demonstrate how to do for WordPress step-by-step in this post with a simple plugin and a few bits of code. This keeps the posts less-buried within your blog's link-structure. Check it out.
2. Eliminate most of the duplicate content:
This is tougher. Let's talk about duplicate content for a moment. Ideally, content would only appear at one URL to avoid duplicate content in every case. This is not really possible, so let's be realistic.
The logic I will suggest is that one should show the full content only on the actual permalink page (the post's page), and the home page for the most recent posts. All other pages will only show titles and excepts. To do this, you must modify your wordpress template in "/wp-content/themes/{your-theme}/index.php." The modification will look something like this:
<? if (is_home() && (!$paged || $paged == 1) || is_search() || is_single() || is_page()): ?>
<div class="entry">
<?php the_content() ?>
<? else: ?>
<small>Archived; click post to view.<br>
<b>Excerpt:</b> <?= substr(strip_tags($post->post_content), 0, 300); ?> … </small>
<? endif; ?>
It basically says what I said above, just using PHP. Doing these 2 things will help your site get indexed properly.
Lastly, you should probably also do the obvious, and create a site map page. I guess that isn't a hack at all, but I recommend the following plugin:
http://www.dagondesign.com/articles/sitemap-generator-plugin-for-wordpress/
Kudos to Dagon Design for such a great plugin that I didn't have to write. You could also create a Google and Yahoo site map, but I don't regard that as strictly necessary.
So get crackin'. Leave a comment if you have questions.
Related posts:
"19 Wise Comments Banged Out Somewhere On The Internet ..."
Per #2 I actually got the code to work by only editing the archive template though the wordpress admin. It still leaves the full version on the sub pages of the home page, but I deny robots indexing anything but the homepage, category pages, and permalink page anyway. So no need to actually edit the index file.
Hi Jaimie I am having trouble implementing point 2, in to my index page which looks as follows: Could you give me a few pointers? Thanks, Gary.
Thanks for the hack and the pagination plugin. I did not realize that WP is not optimized right out of the box. So, this week I had a site drop into Google's supplemental results. I hope these changes and others will help restore my placement. I noticed you don't often reply to comments, but here goes: Thanks for your help, continued success. bongobelly.com | web/dev, For everyone. » Blog Archive » 3 WordPress Hacks For SE-Friendly Blog Archives[...] Make your old content more accessible. http://www.seoegghead.com/blog/seo/3-wordpress-hacks-for-se-friendly-blog-archives-p162.html [...] Google Search URL parameters -[...] ЩÑÑ… да Ð·Ð°Ð±Ñ€Ð°Ð²Ñ Ð»ÑŽÐ±Ð¸Ñ‚ÐµÐ»Ð¸Ñ‚Ðµ на SEO за Wordpress - две чудеÑни идеи как да избегнете попадането на Ñтраниците в supplemental results WordPress subpages going supplemental: the fix и 3 WordPress Hacks For SE-Friendly Blog Archives [...] WordPress subpages going supplemental: the fix - SEO Blog - Joost de Valk[...] 3 WordPress Hacks For SE-Friendly Blog Archives [...] Wordpress Hacks Guide | CSS Experiments[...] 42. 3 WordPress Hacks For SE-Friendly Blog Archives (Source: SEO Egghead) [...] 155 Wordpress Resources, Tutorials, Plugins, Themes, AJAX, Podcasting | Design tools[...] System. 130. Installing Xampp and WordPress (Locally). 131. WordPress Category Page Hacks. 132. 3 WordPress Hacks For SE-Friendly Blog Archives. 133. Opening Links in New Windows. 134. WordPress Thumbnail Size Limit Hack. 135. Restore your [...] Wordpress ile ilgili 155 kaynak : Spaksu Blog[...] System. 130. Installing Xampp and WordPress (Locally). 131. WordPress Category Page Hacks. 132. 3 WordPress Hacks For SE-Friendly Blog Archives. 133. Opening Links in New Windows. 134. WordPress Thumbnail Size Limit Hack. 135. Restore your [...] John Nasta » Blog Archive » Wordpress tips & tutorials[...] 3 WordPress Hacks For SE-Friendly Blog Archives (Source: SEO [...] WordPress 资源汇总 | [Modern Bride - 婚礼在线][...] System 130. Installing Xampp and WordPress (Locally) 131. WordPress Category Page Hacks 132. 3 WordPress Hacks For SE-Friendly Blog Archives 133. Opening Links in New Windows 134. WordPress Thumbnail Size Limit Hack 135. Restore your [...] 155 Wordpress Resources, Tutorials, Plugins, Themes, AJAX, Podcasting, WP Monster List | Sayagi Project*[...] System. 130. Installing Xampp and WordPress (Locally). 131. WordPress Category Page Hacks. 132. 3 WordPress Hacks For SE-Friendly Blog Archives. 133. Opening Links in New Windows. 134. WordPress Thumbnail Size Limit Hack. 135. Restore your [...] 25 Incredibly Useful WordPress Cheat Sheets & Checklists » De Web Times - Sharing Useful Resources.[...] 3 WordPress Hacks For SE-Friendly Blog Archives : Three easy and simple cheats to make your WP blog archives more search-engine friendly. [...] Table Of Contents Of Wordpress Tutorials, Helps, Tips and Tricks | DevWebPro[...] 3 WordPress Hacks For SE-Friendly Blog Archives [...] 25 Incredibly Useful WordPress Cheat Sheets & Checklists | biroattila.com | Innovation and web[...] 3 WordPress Hacks For SE-Friendly Blog Archives : Three easy and simple cheats to make your WP blog archives more search-engine friendly. [...] 55 Best WordPress Tricks And Hacks | stylishwebdesigner[...] 3 WordPress Hacks For SE-Friendly Blog Archives [...]
|
















