The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Forum
    2. Categories
    3. SEO Tactics
    4. Intermediate & Advanced SEO
    5. How do you check the google cache for hashbang pages?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    How do you check the google cache for hashbang pages?

    Intermediate & Advanced SEO
    10 3 2.3k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • navidash
      navidash last edited by

      So we use http://webcache.googleusercontent.com/search?q=cache:x.com/#!/hashbangpage to check what googlebot has cached but when we try to use this method for hashbang pages, we get the x.com's cache... not x.com/#!/hashbangpage

      That actually makes sense because the hashbang is part of the homepage in that case so I get why the cache returns back the homepage.

      My question is - how can you actually look up the cache for hashbang page?

      1 Reply Last reply Reply Quote 0
      • Carson-Ward
        Carson-Ward @navidash last edited by

        I was actually trying to give you the tools to figure out what's cached and indexed. You can just run a site search for the content and look at the cache, though. For example:

        http://webcache.googleusercontent.com/search?q=cache:wIHvFryFPo4J:www.kingskolacheny.com/%23!cateringandcontact/c1d94+&cd=1&hl=en&ct=clnk&gl=us

        If nothing shows up it's probably not indexed.

        1 Reply Last reply Reply Quote 0
        • navidash
          navidash @Carson-Ward last edited by

          Thanks Carson but that wasn't the question.

          The question was how to check the cache.

          Carson-Ward 1 Reply Last reply Reply Quote 0
          • Carson-Ward
            Carson-Ward last edited by

            Generally I'd avoid hashtags or hashbangs if you have large amounts of content you want indexed behind a hashbang. Use pushState instead whenever it makes sense for the user to actually change the URL.

            The general rule is that if you can see the content in your page source (ctrl+u version), it's probably being indexed. That means that client-side AJAX behind hashbangs is generally not indexed, where server-side will generally get indexed.

            If for some reason you must use hashbangs, AND you must use client-rendering content, create an HTML snapshot of your page for Google. Generally, though, that's more effort than changing one of the above.

            navidash 1 Reply Last reply Reply Quote 0
            • navidash
              navidash @MattAntonino last edited by

              I think google has stopped responding to cache requests on hashbang pages all together.

              See here... **I'm just playing with random urls and don't see google cache 404'ing as it should **http://recordit.co/XBlo3U2A73

              You can really put anything there it won't work.

              1 Reply Last reply Reply Quote 0
              • MattAntonino
                MattAntonino @navidash last edited by

                Searching for indexed & duplicate content.  I put a line or two in quotes and Googled it.  I found most of the UTMs that way. Once you do that, it's a simple change to site:yoursite.com inurl:UTM

                navidash 1 Reply Last reply Reply Quote 0
                • navidash
                  navidash @MattAntonino last edited by

                  Thanks a lot, Matt.

                  I'm curious.. how did you exactly find the version with the utm codes that are being cached?

                  MattAntonino 1 Reply Last reply Reply Quote 0
                  • MattAntonino
                    MattAntonino @navidash last edited by

                    Strangely, browseo sees it correctly: http://www.browseo.net/?url=https%3A%2F%2Fplaceit.net%2F%3F_escaped_fragment_%3D%2Fstages%2Fsamsung-galaxy-note-friends-park

                    I'm not 100% sure why this is happening on your site specifically. Normally the #! isn't too big of an issue for cache but I've seen it have a few hiccups.  These pages seem to be indexed fine but they aren't generating cache.

                    I did find a few working but only those with UTM codes:

                    http://webcache.googleusercontent.com/search?q=cache:gRbYNNVyK18J:https://placeit.net/%23!/stages/office-by-the-window%3Futm_source%3Dblog%26utm_medium%3Dbanner%26utm_campaign%3Dbanner+&cd=1&hl=en&ct=clnk&gl=au

                    This doesn't look like it's working but view the source code - the content is actually there.  I found it by Googling the content in " marks.

                    navidash 1 Reply Last reply Reply Quote 0
                    • navidash
                      navidash @MattAntonino last edited by

                      What you're saying make sense and our urls are setup like this but we still don't see just the homepage come up when looking up the google cache with the esc fragment version

                      http://webcache.googleusercontent.com/search?q=cache:https://placeit.net/?_escaped_fragment_=/stages/samsung-galaxy-note-friends-park

                      https://placeit.net/?_escaped_fragment_=/stages/samsung-galaxy-note-friends-park

                      homepage - http://webcache.googleusercontent.com/search?q=cache:https://placeit.net/?_escaped_fragment_=

                      MattAntonino 1 Reply Last reply Reply Quote 0
                      • MattAntonino
                        MattAntonino last edited by

                        Let's use a Wix example site (not a client, just a sample from their page) as my example. Say you wanted to check:

                        http://www.kingskolacheny.com/#!press/crr2

                        In the source code I see the escaped fragment URL.  This is the one you can find a cache for:

                        http://www.kingskolacheny.com/?_escaped_fragment_=press/crr2

                        That leads me to: http://webcache.googleusercontent.com/search?q=cache:http://www.kingskolacheny.com/?_escaped_fragment_=press/crr2

                        If your #! URLs are not setup this way, you will struggle to see it. One page websites are ... one page. But if you have escaped fragment URLs setup, you should be able to submit those and go from there.

                        The easiest way I know to find these is Screaming Frog, Ajax tab, Ugly URL field - try that one.

                        navidash 1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • First post
                          Last post

                        Got a burning SEO question?

                        Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                        Start my free trial


                        Explore more categories

                        • Moz Tools

                          Chat with the community about the Moz tools.

                          Getting Started
                          Moz Pro
                          Moz Local
                          Moz Bar
                          API
                          What's New

                        • SEO Tactics

                          Discuss the SEO process with fellow marketers

                          Content Development
                          Competitive Research
                          Keyword Research
                          Link Building
                          On-Page Optimization
                          Technical SEO
                          Reporting & Analytics
                          Intermediate & Advanced SEO
                          Image & Video Optimization
                          International SEO
                          Local SEO

                        • Community

                          Discuss industry events, jobs, and news!

                          Moz Blog
                          Moz News
                          Industry News
                          Jobs and Opportunities
                          SEO Learn Center
                          Whiteboard Friday

                        • Digital Marketing

                          Chat about tactics outside of SEO

                          Affiliate Marketing
                          Branding
                          Conversion Rate Optimization
                          Web Design
                          Paid Search Marketing
                          Social Media

                        • Research & Trends

                          Dive into research and trends in the search industry.

                          SERP Trends
                          Search Behavior
                          Algorithm Updates
                          White Hat / Black Hat SEO
                          Other SEO Tools

                        • Support

                          Connect on product support and feature requests.

                          Product Support
                          Feature Requests
                          Participate in User Research

                        • See all categories

                        • Pages are Indexed but not Cached by Google. Why?
                          friendoffood
                          friendoffood
                          2
                          42
                          29.8k

                        Get started with Moz Pro!

                        Unlock the power of advanced SEO tools and data-driven insights.

                        Start my free trial
                        Products
                        • Moz Pro
                        • Moz Local
                        • Moz API
                        • Moz Data
                        • STAT
                        • Product Updates
                        Moz Solutions
                        • SMB Solutions
                        • Agency Solutions
                        • Enterprise Solutions
                        • Digital Marketers
                        Free SEO Tools
                        • Domain Authority Checker
                        • Link Explorer
                        • Keyword Explorer
                        • Competitive Research
                        • Brand Authority Checker
                        • Local Citation Checker
                        • MozBar Extension
                        • MozCast
                        Resources
                        • Blog
                        • SEO Learning Center
                        • Help Hub
                        • Beginner's Guide to SEO
                        • How-to Guides
                        • Moz Academy
                        • API Docs
                        About Moz
                        • About
                        • Team
                        • Careers
                        • Contact
                        Why Moz
                        • Case Studies
                        • Testimonials
                        Get Involved
                        • Become an Affiliate
                        • MozCon
                        • Webinars
                        • Practical Marketer Series
                        • MozPod
                        Connect with us

                        Contact the Help team

                        Join our newsletter
                        Moz logo
                        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                        • Accessibility
                        • Terms of Use
                        • Privacy

                        Looks like your connection to Moz was lost, please wait while we try to reconnect.