Actions
tickets #63967
closednews.o.o: changed feed location - please setup redirects
Start date:
2020-02-28
Due date:
% Done:
100%
Estimated time:
Description
The new news.o.o looks great, but unfortunately it has a different URL for the RSS feed than the old wordpress, which causes breakage in feed readers.
Historically, the wordpress RSS feed had two valid locations:
http://news.opensuse.org/?feed=rss2 (from my feedreader)
https://news.opensuse.org/feed/ (from planet.o.o config)
Please setup redirects (in nginx or haproxy) for these two locations ASAP.
Updated by hellcp about 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
I dealt with /feed/ in jekyll via https://github.com/openSUSE/news-o-o/commit/09b89f567b3cc535ce651c8218b381fdaa09c7f2 and https://gitlab.infra.opensuse.org/infra/salt/-/merge_requests/352 should fix /?feed=rss2 (as long as I actually did this correctly)
Updated by cboltz about 4 years ago
I found the solution for ?feed=rss2
, based on https://www.nascenia.com/nginx-url-redirection/
if ($args ~* "feed=rss2") {
set $args "";
rewrite ^.*$ /feed.xml redirect;
}
It's already in the hand-tuned config on jekyll.i.o.o, and works.
Please also addit to your MR ;-)
Updated by hellcp almost 4 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
Actions