Viewing 3 replies - 1 through 3 (of 3 total)
  • I also am in the same boat. For some reason my system is also doing the same thing. When redirecting directories and folders it works fine. As soon as you put in a specific file index.php, about.html, etc. It then responds with the server 404 error instead of the WP page not found error.

    Side note: This is a Multisite install that is having the issue. On a couple standalone installs this works normally.

    Thanks,
    Vince

    Thread Starter wymondham

    (@wymondham)

    My problem was ultimately solved by the following:
    a) Renaming the ‘old’ homepage from my old website to a different name (ie. from index.html to index_old.html)
    b) Deleting the line of code:
    DirectoryIndex index.php index.html index.htm
    from the .htaccess file in the foot directory
    This meant that my new WordPress site worked okay with the WordPress homepage and pages/posts showing as required.
    In terms of the redirection, I got this to work by using the following code in the .htaccess file:
    Redirect 301 /html/congress_tarts.html http://www.cookeryskills.com/recipes/cake-and-pastry-recipes/congress-tarts/
    Thanks
    Jeremy

    Ah, and I have also returned with a solution to my problem.
    Ended up getting rid of the plugin and editing the .htaccess as well.

    You can see the full thread and my markup on http://wordpress.stackexchange.com/questions/91647/multisite-htaccess-301-redirects

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirection not working when redirect from non WordPress site to WordPress site’ is closed to new replies.