Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

RSS feed not showing per category anymore

How to fix?

         

jc2021

9:37 am on Nov 12, 2023 (gmt 0)

5+ Year Member Top Contributors Of The Month



I have different RSS feeds for each categories, but I noticed that all of those feeds get redirected to the main feed of the site, showing all articles instead of the ones in the specified category.

So, www.example.com/category/uknews/feed now shows www.example.com/feed

Any idea what's causing this?




[edited by: not2easy at 1:06 pm (utc) on Nov 12, 2023]
[edit reason] Please see Charter [webmasterworld.com] [/edit]

jc2021

2:11 pm on Dec 25, 2023 (gmt 0)

5+ Year Member Top Contributors Of The Month



Any inputs?

not2easy

3:09 pm on Dec 25, 2023 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



WP offers tutorials and they have several related to feeds and how to customize them. RSS feeds can be in several formats.

WP updates might have overwritten a custom feed template if you previously had a customized template. If you have an older copy of your site before the feed changed, you might find your custom template in those files.

On the WP Customizing Feeds [codex.wordpress.org] article, they list
feed-rss2.php
Displays your entries in RSS 2.0 format.
feed-rss.php
Displays your entries in RSS 0.92 format.
feed-rdf.php
Displays your entries in RDF/RSS 1.0 format
feed-atom.php
Displays your entries in Atom format.
as the available formats included with WP.

Those templates are located in the wp-includes WordPress directory. That article explains how to choose and customize your template(s).

sarim_khan

4:01 pm on Mar 8, 2024 (gmt 0)



It appears that your RSS feeds for specific categories are redirecting to the main feed of your site, displaying all articles instead of category-specific ones. To address this, first, check for conflicts between plugins or themes that may affect category-specific RSS functionality. Additionally, review your. htaccess file for any redirect rules and ensure permalink settings are correct. Verify cache or CDN configurations, which may also impact RSS feed behaviour. By addressing these factors, you can resolve the redirection issue and ensure category-specific RSS feeds display the intended articles. <snip>

[edited by: engine at 4:17 pm (utc) on Mar 8, 2024]
[edit reason] Please see Charter and WebmasterWorld TOS [/edit]