Support » Fixing WordPress » Trackback and RSS URL’s Incorrect

  • IDB

    (@idb)


    I have a problem with WP installtion (nightly build from last night).
    Both the Trackback URL and the RSS URl for each post is wrong, as it includes an extra slash and space in the URL’s.
    Examples:
    RSS – http://my.errolian.com/archives/2004/04/22/wordpress/%20/rss2/
    Trackback – TrackBack this entry is: http://my.errolian.com/archives/2004/04/22/wordpress/ /trackback/
    Site is http://my.errolian.com
    This is my .htaccess file:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/category/?(.*) /index.php?category_name=$1 [QSA]
    RewriteRule ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/author/?(.*) /index.php?author_name=$1 [QSA]
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1&withcomments=1 [QSA]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Matt Mullenweg

    (@matt)

    Maybe you have something funky in your permalink structure setting. Make sure you don’t have any trailing whitespace at the end there.

    Moderator Matt Mullenweg

    (@matt)

    And I just checked in a new version which trims trailing and leading whitespace automatically.

    IDB

    (@idb)

    Thanks a lot.. indeed it was one extra space.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.