November 30th, 2007 - by Golgotha

In WordPress, by default, when you click on the Read More link, the web page loads and then “jumps” to the spot where the <!--more--> tag is set in the post. Whether you like this effect or not is personal preference, but it can pose an SEO problem.

The Problem

The problem is that it creates two different links to the same page. For example, here would be the two links to Paul’s last article:
http://www.search-this.com/2007/11/26/css-a-recipe-for-success/
http://www.search-this.com/2007/11/26/css-a-recipe-for-success/#more-464

So what can sometimes happen is that if the article becomes popular, half the people will link to it one way while half the people link to it the other way. Thereby dividing the total link juice in half.

The Fix

The only way I have found to fix this is to modify a file in the wp-includes directory.

For WordPress 2.2 and up modify the post-template.php page.
For WordPress 2.1 and below modify the templates-functions-post.php page.

Somewhere around line 124 comment out the $output line with the "#more-$id\" in it and change it to the below:

  1. //comment out the old line
  2. //$output .= ' <a href="'. get_permalink() . "#more-$id\" class=\"more-link\">$more_link_text</a>";
  3. // change to the line below
  4. $output .= ' <a href="'. get_permalink() ."\">$more_link_text</a>";

Just remember that each time you upgrade WordPress you will need to remod this line. But if it helps out with SEO it’s a small price to pay.

16 Responses to “WordPress – A 5 Minute SEO Mod”

1 Interwebhunt

I’ve run into this issue before, and it does mess with the link juice. Thats a nice fix you’ve put up here, simple and straight forward and workable. Thanks for the post!

2 Golgotha

np Interwebhunt, glad to help.

3 Michael

Thanks for that, I was just looking into this very issue.
Nice and simple solution.

4 TOMAS

Great post! I wouldn’t have even thought of that being an issue until you brought it up, kudos on finding a solution too!

5 dismet

Great tip for wordpress users, i need similar fixes for my asp.net platform. My current cms application creates duplicate contents for home page.

For example: Logo token links to domainname.com/default.aspx
However my home page is /home.aspx

And this hurts.

6 Golgotha

@dismet – something like that would be handled in the .htaccess file for Apache. Where you could tell it to drop the home.aspx. But you are likely using IIS with ASP.NET?

You may want to look into ISAPI_Rewrite for help there? I wish IIS could take the .htaccess file…

7 David

Thanks for the tip! There is a also WordPress plugin called “Less”, that may be helpful for bloggers without programming skills. It does roughly the same as your code, as far as I can say. Try a search for “Less Thunderguy” to find it.

8 Patrick Burt

This is something I’ll definitely look into. I never knew anchors and their respective links would be classified as different pages.

9 Court

Oh man I hadn’t even thought of that issue! I haven’t used the ‘more’ WordPress tag before, but I know a ton of people that do. Thanks for bringing it to my attention.

10 Jack @ The Tech Teapot

I tend to steer clear of the more link when writing myself. Can’t really see much value in it.

11 unTECHy

I use the “more” link in every post as it helps keep the main page a little less cluttered.

This is a great deal of help all in one little package! I’ve stumbled this page, and I’ll probably mention it in my next post. Will send trackback if I do.

Thanks!

Keith

12 Quick Optimization Fix for WordPress Links

[…] I found this quick 5 minute fix by Golgotha at http://www.Search-This.com. […]

13 Global Fusion

I also use the “more” link in all my posts, but did not realized about this issue until I stumbled upon this post. Nice catch! Thanks a lot.

Augusto

14 Jayson

Nice! I’ve never noticed this. I’ll look into getting it changed and thanks for the tip. It could ruin the positive effects of a good article.

15 San Nayak

Thanks buddy, this is what i was looking for as few of my posts are really long and i never wanted to create duplicate links.

Thanks

I have a post how to install wordpress with basic SEOs done here: http://www.sannayak.com/4-easy-steps-to-start-a-personal-blog-with-wordpress

16 Ted

Thanks for the seo tip. No ..side effects to wordpress URLs.

mulberry sale spyder womens jacket cheap new balance 574 mulberry outlet cheap new balance 574 arcteryx outlet mulberry sale spyder womens jacket mulberry sale spyder womens jacket mulberry outlet mulberry outlet new balance 574

Popular Articles

Top 10 Commentators


Subscribe to this feed! Subscribe by Email!

Random Bits Podcast

You need to download the Flash player from Adobe

Blogs Worth Reading