• Hello all,

    i’m trying to add rewrite rules to my htacess (in bold)

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /home/mysite/public_html/www

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    RewriteCond %{QUERY_STRING} ^p=([0-9]*)$
    RewriteRule ^index\.php$ /%1/? [R=301,L]

    </IfModule>
    # END WordPress

    this does not work, there are a special way to define htaccess in wordpress?

    thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘[htaccess]rewrite rules does not work’ is closed to new replies.