Forums

[resolved] Home page being redirected to recent post (9 posts)

  1. Peacefrog67
    Member
    Posted 1 year ago #

    I recently added a new post to my blog and my home page is being redirected to that post. I deleted the new post but the url is still being redirected. I cannot figure out why. Any ideas?

    Here is the blog -
    http://www.spyware-fix.net/

    Here is the redirect url
    http://www.spyware-fix.net/remove-wireshark-antivirus.html

  2. Dave Redfern
    Member
    Posted 1 year ago #

    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.

  3. Peacefrog67
    Member
    Posted 1 year ago #

    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(); ?>

  4. Samuel B
    moderator
    Posted 1 year ago #

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

  5. James
    Happiness Engineer
    Posted 1 year ago #

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

  6. Peacefrog67
    Member
    Posted 1 year ago #

    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.

  7. James
    Happiness Engineer
    Posted 1 year ago #

    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.

  8. ajhawar32
    Member
    Posted 1 year ago #

    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.

  9. anna2012
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.