Forums

Page, Category and well any links not working (4 posts)

  1. ChuckRock
    Member
    Posted 1 year ago #

    I was using 2.9 when the issues started. I had not done anything for a couple of days to the site. But for some reason a couple of days ago I went to my site wallpaper.oceanmoon.com and tried to click on any of the links and it just take you back to the main page. Can't even get to the wp-admin from the login widget. I can get to wp-admin directly.

    So I updated to 3.0.1 today (manually) to see if that would fix it and no it did not.

    I have removed all of the plugins and still no luck.

    Not sure where go from here? Any ideas?

    Thanks

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried:

    - switching to the default theme to rule out any theme-specific problems?

    - resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

  3. ChuckRock
    Member
    Posted 1 year ago #

    Thanks, good call on the theme. I am using atahualpa351 theme. It has an export/import config so exported the config deleted the theme directory unzipped the same theme imported the config and back up and running. The crasy thing is I had not modified any of the files for this theme. I ran a compare between the non-working copy and the working copy to see if something changed. I did find a few lines of code in the header.php. see below but that has been in therefor some time now.

    <script type="text/javascript">
    var prevent_bust = 0
    window.onbeforeunload = function() { prevent_bust++ }
    setInterval(function() {
    if (prevent_bust > 0) {
    prevent_bust -= 2
    window.top.location = 'http://wallpaper.oceanmoon.com'
    // replace your iframe with link to it
    }
    }, 1)
    </script>

    Oh well, it works now. Thank you.

  4. ChuckRock
    Member
    Posted 1 year ago #

    Yep that little bit of code is what caused it. I add it back in and same problem. take it out and works. Strange that it had been working with that in there for more than a month now.

    Anyway, thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags