Wordpress htaccess rewrite

Discussion in 'Apache' started by login, Oct 16, 2009.

  1. #1
    I am converting and old site to a Wordpress site.

    Old urls is domain.com/index.php?page=3

    I need to rewrite them like this:

    domain.com/index.php?page=3
    to
    domain.com/referanser/

    and the code for Wordpress permalinks is:

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

    Please help, thanks.

    Green rep to good answers :)
     
    login, Oct 16, 2009 IP