Forums

mod_rewite rule (1 post)

  1. miniCarl
    Member
    Posted 8 months ago #

    When a user requests the url:

    http://www.example.com/flag/my-post

    I want the server to deliver data from this adress:

    http://www.example.com/my-special-page/?show=my-post

    in my .htaccess i found the following code:

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

Reply

You must log in to post.

About this Topic