WordPress.org

Support

Support » How-To and Troubleshooting » .htaccess and pretty permalink redirect

.htaccess and pretty permalink redirect

  • Hi,

    I am trying to get http://lizzalittlewort.co.za/home to redirect to the root.

    I have the rules required for standard pretty permalinks:

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

    ..but they are breaking my own entry:

    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /
    RewriteRule home http://lizzalittlewort.co.za

    ie. It works when I delete the WordPress entry, but then nothing else does.
    And it stops working when I put the WP entry back.

    How should I write my rule?

    Many thanks,
    Simon

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess and pretty permalink redirect’ is closed to new replies.
Skip to toolbar