Opened 13 years ago
Closed 12 years ago
#7182 closed defect (bug) (fixed)
feeds aren't canonical
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.7 | Priority: | low |
Severity: | minor | Version: | 2.6 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Pretty permalink feeds aren't canonical.
ENV: WP trunk r8190 (2.6-beta1)
Browser: Firefox/3.0
The canonical URL for the feeds - both posts and comments - is not
working as intended. The following error only occurs with 'pretty'
permalinks enabled. My specific testing involved the "Day and name"
option.
The issue is evident when pointing your browser to "http://www.example.com/feed". The expected outcome is for the browser to display, upon load, the canonical URL, or
"http://www.example.com/feed/" Instead, the address bar will remain
populated with the address that you entered (i.e. no "/" added).
The issue is only evident with the feed URLs. For instance, pointing
your browser to "http://www.example.com/page" will yield the correct
outcome, and redirect to "http://www.example.com/page/". The same goes for categories, posts, etc.
Change History (7)
#1
@
13 years ago
- Description modified (diff)
- Milestone changed from 2.6 to 2.7
- Priority changed from normal to low
- Severity changed from normal to minor
- Summary changed from URLs of RSS Feeds Do Not Redirect Properly with Pretty Permalinks to feeds aren't canonical
#2
follow-up:
↓ 3
@
13 years ago
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
#3
in reply to:
↑ 2
@
13 years ago
Replying to markjaquith:
TODO: make sure that a high percentage of feed readers follow 301 redirects.
If they don't, would not exit()
'ing after sending the 301 solve the problem? That way the feed content is still there for readers that don't know what to do with the 301.
TODO: make sure that a high percentage of feed readers follow 301 redirects.