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

    That’s my rewrite code. What would be the code to have my own custom rewrite rule for “mysite.com/out/mysite/”?? I want that to go to /wp-out.php?sid=$1. I’ve tried numerous variations but haven’t gotten anything to work without breaking wordpress. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tipem

    (@tipem)

    anybody know how to?

    Thread Starter tipem

    (@tipem)

    This works:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    [....] MY FANCY RULES HERE [....]
    </IfModule>
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress other custom rewrite rules’ is closed to new replies.