Support » Fixing WordPress » Problem with redirect 301

  • wymondham


    I am trying to use the .htaccess file to redirect pages from an ‘old’ non-Wordpress website to a new WordPress website. The WordPress files are in a Beta folder.

    A typical example would be to redirect:

    I followed the WordPress tutorial to get the website to run from the root directory instead of the Beta directory – this required the index.php and .htaccess files being copied from the WordPress (Beta) directory to the root directory.

    The coding I have in my .htaccess file in the root (not Beta) directory is as follows:

    Redirect 301 /

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

    This is not working.

    Can anyone suggest how I can get this to work?


  • The topic ‘Problem with redirect 301’ is closed to new replies.