Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Track your brand’s footprint in AI search
      Moz Pro

      Track your brand’s footprint in AI search

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      Let your business shine with Listings AI

      Let your business shine with Listings AI

      Get found
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Access 20 years of data with flexible pricing
      Moz API

      Access 20 years of data with flexible pricing

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    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. Home
    2. SEO Tactics
    3. Link Building
    4. Could google recognize urls in data-attributes?

    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.

    Could google recognize urls in data-attributes?

    Link Building
    2
    5
    2534
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • censeo
      censeo last edited by

      Hi,

      could google's crawler recognize the following example as a link and will be crawl the url?

      • any experience?

        ty for your help

      1 Reply Last reply Reply Quote 0
      • censeo
        censeo @censeo last edited by

        oh..okay, thanks...can't be shown up as url, because it's not used in href or src attribute...

        thanks greg for your help!

        @all other experience are welcome

        1 Reply Last reply Reply Quote 0
        • AndreVanKets
          AndreVanKets @censeo last edited by

          I loaded the link in a program that makes HTML code visible. (For HTML noobs like me) here's a link to the program http://www.pagebreeze.com/

          If you edit the HTML Source with that link, and then view it, nothing is displayed..

          I'm not that clued up with HTML, but from what i can tell, Google wont see that as a link.

          Greg

          1 Reply Last reply Reply Quote 0
          • censeo
            censeo @AndreVanKets last edited by

            sorry, i don't have any other examples..

            What do you mean with html viewer?

            AndreVanKets censeo 2 Replies Last reply Reply Quote 0
            • AndreVanKets
              AndreVanKets last edited by

              After testing that code in an HTML viewer, I would say no, Google wont see that as a link.

              Could you give me a real example of the link?

              Greg

              censeo 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


              Browse Questions

              Explore more categories

              • Moz Tools

                Chat with the community about the Moz tools.

              • SEO Tactics

                Discuss the SEO process with fellow marketers

              • Community

                Discuss industry events, jobs, and news!

              • Digital Marketing

                Chat about tactics outside of SEO

              • Research & Trends

                Dive into research and trends in the search industry.

              • Support

                Connect on product support and feature requests.

              • See all categories

              Related Questions

              • BaselineTry

                How to get 'Links to you site' via the google search console API?

                hey! Any idea how I can download backlinks via the sear console API? This page from Google has a few commands but not the back links one - https://developers.google.com/apis-explorer/#p/webmasters/v3/ Has anyone collected backlinks data in the past? Apprrciate your help! Thanks Arjun

                Link Building | | BaselineTry
                0
              • BrightonRecoveryCenter

                Nofollow links showing up in Google Search Console

                If some nofollow links are showing up in Google Search Console, does that mean they are indeed passing link juice?

                Link Building | | BrightonRecoveryCenter
                0
              • frankmassanova

                Reversing Canonical URLs?

                A few months back, we set up canonical URLs on some pages with duplicate content to give some newer pages more link juice. Now, we need to do the opposite and give that same juice to some of the original pages. If we set up canonical URLs on the newer pages to point back to the original pages, are we losing the juice we've been building all along? Sorry for all this convoluted juice talk. Hopefully, my point is getting across here.

                Link Building | | frankmassanova
                0
              • Gokart

                Redirect from a previous url

                Hi - newbie question I have a customer who's had previous versions of his website. Previously it was known as "princess-interiors.co.uk" (been around for a few years) and is now "princess-design.co.uk" (been around also for a few years). New site is WordPress - what would be the best way to redirect (I have access to the previous version of the site which is still hosted). I expect it's to use 301, but how would I do that (step by step), and does www. versus non-www need addressing (and how). Really concerned, as this site has gone to zero organic visits!! Hoping somebody can help. Thanks

                Link Building | | Gokart
                0
              • rohitdeveloper

                How to index Backlinks Fast in Google!

                I Made few backlinks with my keyword but they are not getting index and it has been for 15 days. Do you have any idea that will help me out to solve this problem and also to index back links quickly.

                Link Building | | rohitdeveloper
                0
              • barberm

                Links from PRWeb press release violate Google's quality guidelines?

                My site has had a manual action performed on it by Google indicating that I have inbound links that fall outside of their quality guidelines. I did my own research, found what I thought was the issue, had the links removed and requested reconsideration. Google's response surprised me in that they highlighted two specific pages with links that were the direct result of valid press releases and a publisher picking up our release off a wire service. Has anyone else seen this occur? Anyone had a case successfully reconsidered? I realize that I don't need to do anything at all as the manual action is in effect and will stay that way, discounting those links, but I would rather a) not have any manual action against my site and b) know for the future so this doesn't happen again. Also, is this applicable for guest blog posts, which effectively create the same type of backlinks? Thanks

                Link Building | | barberm
                1
              • FRL

                Why is Google not following a 301 redirect on the robots.txt file?

                Hi Guys, I recently posted a question on the Google Webmasters Forum http://www.google.com/support/forum/p/Webmasters/thread?tid=683e71557db7fd54&hl=en&fid=683e71557db7fd540004a4b4add8cbb6 and didn't get a satisfactory feedback so I thought I will put this to the SEO gurus on here. Perhaps one of you guys might good buddies with Matt and might be able to ask him directly. I actually posted on Matt's blog but he hasn't got back to me. Basically we did a URL restructure for client and set up 301 redirects and saw a huge drop in rankings over time. The 301 redirects seem to work fine and have been tested by many many people. We suspected that google might be ignoring the 301 redirects or devaluing them and so I reviewed the server log to see what is happening when the googlebot crawls the site and it showed that on many occasions the googlebot did not reload the page after hitting a 301 redirect. Sure.. you might say it probably queues it or Google might just be checking that the 301 redirect is still in place but why check so often (with a few hours to a day on the same URL) it even skips a 301 redirect on the robots.txt file i.e. from http://clientsite.com/robots.txt to http://www.clientsite.com/robots.txt.  from non-www to www version. I don't think it is easy to dismiss the skipping of the robots.txt file - this 301 redirect should be loaded immediately to use the instructions the gooblebot requires to crawl the page. Any help will be appreciated. I can sent the server log to anyone personally but I am reluctant to post it on here. Regards, Zan

                Link Building | | FRL
                0
              • debi_zyx

                How does Google interpret articles or prepositions in languages where it's attached to the (key)word?

                Hi, All! This is for any foreign language SEOs where articles or prepostitions such as "the" "to" "in" or anything else are actually part of the word they are modifying and not a separate word, as in English: How does Google understand those words on-page and in anchor text?  If you want to optimize for the word "house", and your content/anchor text says "the house" or "in the house" (again, all one word) - what does Google count that as?  Does it count toward "house"?  Does it count toward "in the house" only?  Does it count toward "house" but not as much as if you had just put "house"? I end up sometimes writing slightly grammatically-off content because I want to optimize for the keyphrase - but is that necessary? Obviously different languages might be different, but you can probably project a little from one to the others. Thanks in advance!

                Link Building | | debi_zyx
                0

              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.