The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • 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 Q&A Forum
    2. Categories
    3. Web Design
    4. Jump links?

    Jump links?

    Web Design
    5 3 484
    • 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.
    • julie-getonthemap
      julie-getonthemap last edited by

      I am using a directory plug-in that doesn't have separate urls for each profile. Is there any way to set up a link to go directly to a particular business?

      https://www.sacramentotop10.com/business/chamber-of-commerce/

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

        Hello Julie,

        This article explains a solution https://blog.hubspot.com/marketing/jump-link-same-page - you'll need to put anchor tags around the company names, possibly some CSS should the presentation be effected.

        This help?

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

          Don't think this is possible with your site's (current) architecture as the parts you want to link to are 'generated' and exist in the modified source-code only, rather than the base source code.

          Basically you can extend a URL using the hash-anchor (#) to connect to certain areas of a web-page, which are marked up a certain way.

          **I can take your URL here: **https://www.sacramentotop10.com/business/chamber-of-commerce/

          And extend it to jump straight to your footer, for example: https://www.sacramentotop10.com/business/chamber-of-commerce/#footer

          This is because the footer always exists in your web-page's base (non-modified) source code:

          • view-source:https://www.sacramentotop10.com/business/chamber-of-commerce/ - (this link will only work in Google Chrome!)

          You can see the reference for your footer here:

          • https://d.pr/i/AnLonX.png (screenshot)

          That is a view of the page's non-modified source code, before any scripts (JavaScript etc) have run. That's what you get with right click -> View page source

          Once your scripts have run, things look a little different. The modified source (which you can access via right click -> Inspect, using Google Chrome) is richer and paints a fuller picture

          Here's the same area of code again but viewed via the modified source:

          • https://d.pr/i/BRXg3B.png (screenshot)

          As you can see, the modified source code (less Google / SEO friendly - as Google won't always execute your scripts when crawling!) contains the actual text for the copyright notice in your footer. The base source code (un-modified, more Google friendly as it's always read by Google) does not contain the actual text, only the ID which scripts need as an anchor to generate that text for you

          Your problem is that, hash anchors which should work and open that window for you - won't work because all that content is stored in the modified source code (not in the base source).

          Let's say you wanted to link to this one:

          • https://d.pr/i/iQVOPs.png (screenshot)

          And you wanted to make a link, that deep-links people just to this part here:

          • https://d.pr/i/QvAwIe.png (screenshot)

          Now technically if you inspect that frame, there is something with a decent ID to hook onto:

          • https://d.pr/i/kMUsDO.png (screenshot)

          So this link should technically work:

          • https://www.sacramentotop10.com/business/chamber-of-commerce/#busi-3328-1

          But sadly it doesn't do squat (I also tried https://www.sacramentotop10.com/business/chamber-of-commerce/#3328-1 and https://www.sacramentotop10.com/business/chamber-of-commerce/#3328).The reason is that, the content (pop-up window, text etc) for specified ID only exists in the modified source code (after scripts have run) but not in "View source" (the non-modified source code)

          Check it out:

          • https://d.pr/i/5GqIVY.png (screenshot)

          You can see the 'hook' which JS grips into (to populate the content), but if you search for any content inside of the pop-up **window in the base (**non-modified) source code:

          • https://d.pr/i/HhUdJK.png (screenshot)

          Let's use that text ("Folsom Chamber of Commerce") as an example. Now go to the basic source code:

          • https://d.pr/i/CmXVaP.png (screenshot)

          Guess what?

          • https://d.pr/i/7b2UrU.png (screenshot)

          Bam! There's nothing there. Your problem is, you're trying to link to something which doesn't exist until scripts have run. You can use hash-anchors ('#') to deep-link, but not to generated areas of a web-page (as far as I am aware)

          This functionality would require a restructure of your site in some way.

          1 Reply Last reply Reply Quote 1
          • julie-getonthemap
            julie-getonthemap last edited by

            Thank you so much!  I suspected this, but wanted to make sure by asking the Big Brains at Moz. You always come thru!

            effectdigital 1 Reply Last reply Reply Quote 1
            • effectdigital
              effectdigital @julie-getonthemap last edited by

              Glad to be of service 🙂

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Internal Linking Conundrum
                Andrew-SEO
                Andrew-SEO
                0
                6
                107

              • JS and HTML links: Any risk involved being employing two similar links on every page?
                0
                2
                45

              • Do we still have this Page Rank / Link juice / Link equity? So this dilution concept?
                Dalessi
                Dalessi
                0
                2
                262

              • Hi, we are adding button in the top of page bar which are links to the other pages, how can we make these links visible to the search engines? As we cannot introduce anchor text there
                MattAntonino
                MattAntonino
                0
                5
                114

              • A Not Linked Page Question
                Reinhart
                Reinhart
                0
                4
                158

              • To link or not to link | Do Follow or No Follow?
                irvingw
                irvingw
                0
                2
                514

              • Menu Links
                katemorris
                katemorris
                0
                5
                274

              • Internal Linking
                Creode
                Creode
                0
                4
                313

              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