Make WordPress Core

Opened 7 years ago

Last modified 5 years ago

#18353 closed defect (bug)

consider $_SERVER['REDIRECT_URL'] in self_link() — at Initial Version

Reported by: sivann Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5
Component: Feeds Keywords: reporter-feedback
Focuses: Cc:


When using feed redirections such as a qtranslate which differentiates feeds between example.com/el/feed and example.com/en/feed, when going to one of the above URLs, the feed incorrectly has the [...]example.com/feed"[...] href instead of the correct: <atom:link href="http://www.example.com/el/feed" rel="self" type="application/rss+xml" />

A fix is to use $_SERVERREDIRECT_URL? if it exists instead of REQUEST_URI in feed.php, function self_link()

Change History (0)

Note: See TracTickets for help on using tickets.