[resolved] How to get rss feed of category when url ends in .shtml (2 posts)

  1. Donna Fontenot
    Posted 4 years ago #

    I know that the normal way to retrieve an RSS feed for a category is via this url structure:


    However, the url structure of the site categories aren't like this:


    It is instead like this:


    So, doing this:


    doesn't work (or make sense).

    I also tried http://domain.tld/wp-rss2.php?cat=123 but that ends up just redirecting to the normal feedburner feed for the whole blog.

    Has anyone ever successfully found a way to show a category feed when the url structure ends in something other than a directory/ ?


    Oh, and before anyone asks, here's what the .htaccess looks like.

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /news/

    RewriteRule ^index\.php$ - [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /news/index.php [L]


    # END WordPress

    And then, in the wp-admin, under Permalinks, the Category base is set to this:


  2. Donna Fontenot
    Posted 4 years ago #

    Ok, I asked this same question over on Google Plus, and got the answer, so thought I'd share it here in case anyone ever needs to know. As strange as it looks, this works:


Topic Closed

This topic has been closed to new replies.

About this Topic