.htaccess rewrite rule - What have I done wrong?

Discussion in 'Apache' started by ridesign, Jun 16, 2010.

  1. #1
    ridesign, Jun 16, 2010 IP
  2. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Hope you're trying to add another rule in your WP Site right??
    It need some modifying in WP hatccess
    Contact me if you cant do that :)
     
    roopajyothi, Jun 17, 2010 IP
  3. ridesign

    ridesign Peon

    Messages:
    294
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have added in another rule in htaccess.

    But I get a 404 page.

    Here is the details of .htaccess


    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    
    RewriteRule ^archive/category/topic/(.*)/page/(.*)/$ /archive/category/page/$2/?tag=$1 [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>
    Code (markup):
     
    ridesign, Jun 18, 2010 IP