Viewing 8 replies - 1 through 8 (of 8 total)
  • Yo,

    Could show us what is in your index.php of your themes template? I assume you want to to redirect to the latest post, just this is going to a 404 because it was deleted?

    Thanks

    Dave.

    Thread Starter peacefrog67

    (@peacefrog67)

    Hey Dave,

    Thanks for replying. I actually don’t want a redirect, that is the problem, when you visit the home page it is redirected to the 2nd url. So I deleted the post, and now the home page shows instead but it is still trying to redirect to the new post (even though I deleted it). Make sense?

    Here is the index.php –

    <?php
    /**
    * @package WordPress
    * @subpackage SpywareFix
    */
    ?>
    <?php get_header(); ?>

    <div id=”content”>

    <?php get_sidebar(‘left’); ?>
    <?php get_sidebar(‘right’); ?>

    </div>

    <?php get_footer(); ?>

    usually a caching plugin can cause this
    deactivate it if you have it
    then re-activate it

    Moderator James Huff

    (@macmanx)

    If that doesn’t work, try decativating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    Thread Starter peacefrog67

    (@peacefrog67)

    Hey guys,

    Thanks for the help, that worked! I discovered that a redirect plugin I had installed was suddenly redirecting from the home page. The strange thing is, I have not touched the settings of this plugin for weeks yet all of a sudden a redirect was put in. Could this have been a security breach?

    Thanks.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

    There seems to be a problem with the Redirect plugin and WP 3, but I’m unclear on the details. At the very least, it wasn’t a security breach.

    This is happening to me as well and I don’t know what to do!

    I tried deactivating my Redirect plugin, that didn’t help. Next I tried deleting the plugin, and that didn’t do anything either.

    This is the only site that is being affected on my computer. I was thinking it might be spyware because I have a laptop which is able to open the site with no problem, which leads me to believe the problem resides with my home PC. If its not spyware, do you have any thoughts on what the problem might be?
    Fix Task Manager

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Home page being redirected to recent post’ is closed to new replies.