Forums

WP 2.x .htaccess and Feed RewriteRules (2 posts)

  1. manlygeek
    Member
    Posted 6 years ago #

    OK, I really like WP and have for sometime but now I am PI$$ED in a major way.

    I am creating a podcast centered blog at :

    http://podcast.manlygeek.com

    I have a Podcasts category where that I actually post all podcasts and show notes to. I want to provide a straight forward URL so iTunes, et. al can access my Podcast feed. This is what my .htaccess file looks like:


    #Podcast Rewrites
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteRule ^podcasts/?$ /index.php?category_name=Podcasts [QSA,L]
    RewriteRule ^podcasts/feed/(atom|rss2)/?$ /index.php?feed=$1&category_name=Podcasts [QSA,L]

    </IfModule>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    This does not work. I have tried dozens of combinations but its as if WP 2.x simply ignores .htaccess.

    I have WP 1.5.1.2 running on another part of the domain and I notice that the .htaccess file there is huge and contains dozens of rules. WP 2.x doesn't seem to do that but has only a single rewrite rule and then a rewrite_rules option in wp_options that contains all the rules that WP 1.5 used to put in .htaccess. What the &*$(##&! is going on and how to I make WP use my feed rewrite rules?

  2. petit
    Member
    Posted 6 years ago #

    WordPress 2.0x doesn't disregard the .htaccess rewrite rules.
    I'm not an expert on specific rules, but do you really need the special podcast rules?
    Can't you just use `http://podcast.manlygeek.com/taxonomy/categories/podcasts/feed“
    which is your ordinary feed for the category?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags