• Hi, I recently took over from a developer that has since left the company. My problem is as follows. Our site:

    works find if you access menus directly from the homepage, ie:

    However, if you were to access that page directly from google

    it doesn’t work.

    Any ideas how to fix?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello andrewpienaar,

    When you navigate through Menu, the link is /#!/hokaoneone

    But when you see the link from Google it might be /hokaoneone

    So it is the missing “#!” in the page URL, so it is coming either from theme or some sort of plugin which is installed.

    Try deactivating all plugin and switch to a default theme like twenty seventeen and see if an issue persists.

    Hope this info helps,

    Thanks.

    First thing I’d do is get rid of that ‘#!’ thing… Those two characters together are called a ‘shebang’ by the way. I can’t think of a good reason to have it there and it’s confusing things.

    Google either peeled it out of a crawled URL or it doesn’t exist in the sitemap and RSS feeds… Yeah, it’s not in the RSS feeds so it’s probably not in the sitemap either and crawl / discovery probably saw it in native form (sans the shebang).

    Thread Starter andrewpienaar

    (@andrewpienaar)

    I need the shebang for the Ajax call – is there a way you know of to force it into the sitemap or address?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not a Developing with WordPress topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Direct Access from google does not load page’ is closed to new replies.