Forums

How to htaccess rewrite with the WP engine on? (3 posts)

  1. ianstormtaylor
    Member
    Posted 2 years ago #

    I am having troubles using mod_rewrite... the code that should be working doesn't seem to work and I'm wondering if its because of the WordPress rewrite engine.

    <IfModule mod_rewrite.c>
    	RewriteEngine on
    	RewriteRule ^(.*)/broadcasts$ $1/feed
    </IfModule>

    I just want any feed URL to be accessible via /broadcasts/ instead...

    Thanks.

  2. ianstormtaylor
    Member
    Posted 2 years ago #

    Sorry... my version is 2.9.2.

  3. ianstormtaylor
    Member
    Posted 2 years ago #

    Basically... if I have a custom rewrite structure of:

    %category%/%postname%

    Can I still add one rewrite to the htaccess to make:
    http://mysite.com/broadcasts
    redirect to:
    http://mysite.com/feed

Topic Closed

This topic has been closed to new replies.

About this Topic