WordPress.org

Ready to get started?Download WordPress

Forums

redirected to home page when 404 (3 posts)

  1. matoma16
    Member
    Posted 2 years ago #

    Hi,
    I have a problem, when I should have a 404 page, I get redirected to my homepage. I have a WPMU website, and this only happens on main site. I have diff plugins and theme for each. I tryed desactivating all plugins and still have the problem. I have a custom plugin for all my functions. I didn't write any code that may cause the problem, at least I don't think so.
    Here's the list of all active plugins :

    1. Broken Link checker
    2. co-authors Plus
    3. dashboard notepad
    4. event Calendar
    5. Executable PHP widget
    6. Facebook open graph meta
    7. global post password
    8. post expirator
    9. redirection
    10. wp SEO
    11. wp paginate

    I desactivated all but co-author and dashboard.
    Anyone ever had that problem ?
    Thanks !

  2. Tara
    Member
    Posted 2 years ago #

    -for a moment, try switching to the unedited default theme (twenty eleven) for a moment by renaming your current theme's folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

    does switching to twenty eleven resolve the issue?

  3. matoma16
    Member
    Posted 2 years ago #

    No, even when I switch back to this theme, I still have the issue. I tryed desactivating all the plug in I have, and it still doesn't work :(

    My redirection plug in works (adding old url from google and pointing them to new pages on my website) but not the 404 so I think it's not from the htaccess (web.config in my case but I reinitialized it anyway)
    I have this in my web.config, if I remove it I get my server's 404 page, should I have something else ?

    <rule name="WordPress Rule 4" stopProcessing="true">
       <match url="." ignoreCase="false" />
       <action type="Rewrite" url="index.php" />
    </rule>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags