Support » Fixing WordPress » .htaccess 301 Redirect from Old HTML Site New Domain = 404

  • I’ve rebuilt an old HTML website in wordpress AND it’s on a new domain, but am having issues with .htaccess files and commands. The top level domain redirects okay. Old, individual sub-pages are redirecting, but keeping to the old path beyond the domain so are throwing back a Redirect Loop error.

    For instance: Redirects OK to
    but is ending up on and giving a 404.

        Alternatively, I’ve tried putting the redirects in the .htaccess file and removing them from the olddomain (while leaving only the overall domain redirect)
        I’ve tried that, but putting them UNDERNEATH the WP rewrite code.
        I’ve tried putting the redirects in BOTH the .htaccess file and old file.

    I’ve done alot of searching and can’t seem to find the right solution.

    .HTACCESS Contents

    OLD SITE+++++++++++++++++++++++++++++

    Options +FollowSymLinks
    RewriteEngine on

    Redirect 301 /
    Redirect 301 /about-us.html
    … plus about 70+ additional page redirects

    NEW SITE+++++++++++++++++++++++++++++

    # 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]
    # END WordPress

  • The topic ‘.htaccess 301 Redirect from Old HTML Site New Domain = 404’ is closed to new replies.