WordPress.org

Ready to get started?Download WordPress

Forums

mod_rewite rule (1 post)

  1. miniCarl
    Member
    Posted 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Topic