• Resolved alscool

    (@alscool)


    I have lost all navigation on my site
    https://www.friendsoftemagami.org

    I think the problem started when I tried to add some google web stats to my index.php at the end of the file just above the /body tag.

    This gave my site a 404 error so I removed my edit. All returned and seemed to be normal until I discovered that the links do not work. The nav bar indicates a new page but it refreshed the index.php

    One thought is that the index.pxp has lost reference to the associated database.

    Any help well appreciated, as I am lost.

    Alex

Viewing 11 replies - 1 through 11 (of 11 total)
  • Could be as simple as updating your permalinks:
    Administration > Options > Permalinks

    Also, if that doesn’t fix it, deactivate any new plugins you’ve activated.

    Thread Starter alscool

    (@alscool)

    Thanks but that did not resolve the issue. No resent plug ins to remove.

    I should also note that besides the lost links to the calendar, archies and post and pages, I cannot post new information to the site.
    Alex

    I’m assuming the index.php file you changed was wp-content/themes/your-theme-whatever-it-is/index.php?

    Thread Starter alscool

    (@alscool)

    No it was the index.php in the root of https://www.friendsoftemagami.org – a subdirectory of https://www.nastawgan.ca

    So that file should be the same as if you download the index file from the WordPress distribution (link at top of this page) and use that.

    Thread Starter alscool

    (@alscool)

    Michael, I don’t follow. Can you expand. Thanks.

    he means, download wordpress and take the original index.php from the original files and copy it back, overwriting the one you changed.

    Thread Starter alscool

    (@alscool)

    This did not work for me.
    There are a number of index.php files within the structure of my chosen theme.

    when exchanging, one gave a blank page, two others gave coded line errors.

    Thread Starter alscool

    (@alscool)

    below is the content of my index.php (from the root directory of my domain)

    [Moderated: Too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as https://wordpress.pastebin.ca. Thanks!]

    Thread Starter alscool

    (@alscool)

    What does this mean?

    Fatal error: Call to undefined function: get_header() in /mnt/w0011/d10/s04/b0267a7e/www/friendsoftemagami.org/index.php on line 2

    Thread Starter alscool

    (@alscool)

    Problem resolved.

    Issue was with finding the proper index.php and then editing the the directory structure.

    Thanks too all that helped

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘lost navigation’ is closed to new replies.