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. Link Building
    4. Use of href=# or href=hash

    Use of href=# or href=hash

    Link Building
    4 2 1.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.
    • CeeBee-304918
      CeeBee-304918 last edited by

      I use links with href="#" to trigger ajax functions in order to filter/sort and refresh  search results on page. Since several other html tags could potentially be used to bind a javascript event, (ie. span, img, div, etc), could there be a compelling reason to avoid using the anchor tag for this purpose? My concern is link juice dilution since many different pages will have the same links to: Sort by number of bedrooms or Filter by neighborhood. It is also common practice to use links with href="#" to submit ajax forms which are not html forms at all. I am just trying to rethink this practice and implement a best practice method. Thx

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

        Hey, don't take this as gospel, but I believe that Google does not index named anchors so when it looks at a URL it stops at #. So, links using # would not be indexed.

        The whole ajax thing is quite interesting as if the page can have different content based on data driven ajax functionality then surely you are missing out on indexing a lot of your content.

        I have not done any such experiments with ajax and indexation in this way but there is an interesting moz post on this here: http://www.seomoz.org/blog/how-to-allow-google-to-crawl-ajax-content

        CeeBee-304918 1 Reply Last reply Reply Quote 0
        • CeeBee-304918
          CeeBee-304918 @Marcus_Miller last edited by

          Marcus, I am using the ajax to serve "variable" content to human users only after the page has loaded and user has taken some action to sort or filter, and I specifically do not want that content indexed.  BTW, regarding Google indexing ajax content, I am not a fan of using G's proprietary hashbang methodology. If you want the content indexed, then load it with the page. Any content loaded through ajax should be for human consumption only. So, back to the question, about link juice...

          Thx

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

            Okay, right you are then, just trying to help buddy.

            As far as I am aware there is no compelling reason to not use the href='#' tag and this will not be diluting link juice anywhere as # is not a page.

            Marcus

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • A lot of blogs use wordpress or blogspot, are these blogs still useful for SEO in terms of linkbuilding, or should they be avoided?
              Vikran
              Vikran
              0
              5
              117

            • Empty href damages SEO? (href="#")
              CPR_PTANTONO
              CPR_PTANTONO
              0
              9
              4.9k

            • What outreach tools do you use?
              EGOL
              EGOL
              0
              4
              384

            • Which directories to use?
              joebuilder
              joebuilder
              0
              7
              194

            • Linksmanagement.com anyone use it?
              Humantorch
              Humantorch
              0
              5
              8.3k

            • Can anyone provide any useful insights on how they use latest news items to help with SEO?
              Wallander
              Wallander
              0
              3
              381

            • What is an infographic? And how is it used for SEO?
              ericpratum
              ericpratum
              0
              4
              652

            • Has anyone seen positive results from using Submiteaze to submit to directories? I know an SEM agency that uses it for clients' link building campaigns, but I don't know if it is worth buying. Are there better alternatives?
              AlanBleiweiss
              AlanBleiweiss
              0
              5
              1.2k

            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