WordPress.org

Ready to get started?Download WordPress

Forums

.htaccess and pretty permalink redirect (2 posts)

  1. Simon Barnett
    Member
    Posted 1 year ago #

    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

  2. Simon Barnett
    Member
    Posted 1 year ago #

    hello? hello? hmm..

    fixed it myself with this:
    http://urbangiraffe.com/plugins/redirection/

    Not ideal, so I'm still open to suggestions..

Topic Closed

This topic has been closed to new replies.

About this Topic