Filed Under: Wordpress

Trailing Slash and SEO URL’s

17 May 2008 No Comment Tags: ,

I noticed that there is a small bug in Wordpress 2.3 if you are using seo friendly url’s.
The “Trackback” and “Subscribe to the comments feed” links on the single.php have two slashs at the end and return a 404 page.
If you want to fix that open: /wp-includes/link-template.php
Find “get_post_comments_feed_link” and remove “trailingslashit(” as well as the closing round bracket after “($post_id)”.







Like our posts? Then subscribe via Mail:

Email:  

Similar Posts:

Socialize:

delicious stumbleupon

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.com.