Does using data-href="" work more effectively than href="" rel="nofollow"?
-
I've been looking at some bigger enterprise sites and noticed some of them used HTML like this:
<a <="" span="">data-href="http://www.otherodmain.com/" class="nofollow" rel="nofollow" target="_blank"></a>
<a <="" span="">Instead of a regular href=""
Does using data-href and some javascript help with shaping internal links, rather than just using a strict nofollow?</a>
-
I think this is actually a really good question. The main reason most SEOs these days don't "sculpt" or "shape" with nofollow links anymore has to do with the fact that they will still take away from the total amount of pagerank available to be passed on to other links on the page. So the question I'm reading above seems to be:
Do<a data-href...="" links="" still="" take="" a="" portion="" of="" pagerank="" away="" from="" the="" total="" pr="" available="" to="" be="" passed="" on="" other="" same="" page?<="" p=""></a>
<a data-href...="" links="" still="" take="" a="" portion="" of="" pagerank="" away="" from="" the="" total="" pr="" available="" to="" be="" passed="" on="" other="" same="" page?<="" p="">My answer is "I don't know" but I'd like to see a test if anyone can think of a way to try it out.</a>
<a data-href...="" links="" still="" take="" a="" portion="" of="" pagerank="" away="" from="" the="" total="" pr="" available="" to="" be="" passed="" on="" other="" same="" page?<="" p="">However, even if the test came back saying "No, these are treated differently and do not currently affect the total amount of PR available to other links on the page" I still would not use it for the purpose of pagerank sculpting. The reason is that how Google treats these links today can change tomorrow, making "tactics" like this a bad idea IMHO. It just leaves a mess for either you or some other poor SEO to cleanup later.
If I don't want pagerank to pass through a link on a page I simply don't put the link on the page. In extreme circumstances where there is no other way around it I might consider obfuscating the link with some javascript, for instance. However, even if you block the .js file that handles this "link" in the robots.txt file Google still executes it (as you can see when viewing the cached version on Google for pages that do this).</a>
-
Hi Jonathan,
I highly doubt it, you normally use the data-href to trigger some events with JavaScript and as these links still have the rel="nofollow" it probably will have the same value (0, as it's nofollow) to search engines.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Should I use canonical tag in these cases?
Should I use canonical tag in these cases? On the page itself (with the tag pointing to itself) On pages that doesn't have duplicate versions
Technical SEO | | GoMentor0 -
Should event write-ups be nofollow?
Hi guys, tl:dr - Should articles discussing a company's event (offline content) be nofollow? My company hosts a number of events across the year, during which we invite a selection of bloggers, journalists and interested parties from across the UK. During these events we show them the "behind the scenes" of our company as well as the manufacturing process and give them an amazing experience surrounded by our products. We never (ever) ask for write-ups or links, and leave the day entirely open every time. If people ask about articles or links, we always say it's entirely up to them if they wish to talk about their experiences. So, my question is: should any follow-up articles (for example reviews of the day, which bloggers will want to talk about) be nofollow? They're not reviewing any products, nor have they been paid or incentivised to talk about their experience. One could argue the event itself is incentive, however if this is the case then surely providing content is equally incentivising... The only difference is that the content we're providing is offline? Would be good to get people's thoughts on this!
Technical SEO | | JAR8970 -
Handling "legitimate" duplicate content in an online shop.
The scenario: Online shop selling consumables for machinery. Consumable range A (CA) contains consumables w, x, y, z. The individual consumables are not a problem, it is the consumables groups I'm having problems with. The Problem: Several machines use the same range of consumables. i.e. Machine A (MA) consumables page contains the list (CA) with the contents w,x,y,z. Machine B (MB) consumables page contains exactly the same list (CA) with contents w,x,y,z. Machine A page = Machine B page = Consumables range A page Some people will search Google for the consumables by the range name (CA). Most people will search by individual machine (MA Consumables, MB Consumables etc). If I use canonical tags on the Machine consumable pages (MA + MB) pointing to the consumables range page (CA) then I'm never going to rank for the Machine pages which would represent a huge potential loss of search traffic. However, if I don't use canonical tags then all the pages get slammed as duplicate content. For somebody that owns machine A, then a page titled "Machine A consumables" with the list of consumables is exactly what they are looking for and it makes sense to serve it to them in that format. However, For somebody who owns machine B, then it only makes sense for the page to be titled "Machine B consumables" even though the content is exactly the same. The Question: What is the best way to handle this from both a user and search engine perspective?
Technical SEO | | Serpstone0 -
Effective use of hReview
Hi fellow Mozzers! I am just in the process of adding various reviews to our site (a design agency), but I wanted to use the ratings in different ways depending on the page. So for the home page and the services (branding, POS, direct mail etc) I wanted to aggregate relevant reviews (giving us an average of all reviews for the home page, an average of ratings from all brand projects and so on). Then, I wanted to put specific reviews on our portfolio pages, so the review relates specifically to that project. This is the easiest to do as the hReview generator is geared up for reviews that come from one source, but I can't find a way of aggregating the star ratings to make an average rating rich snippet. Anyone know where I can get the coding for this? Thanks in advance! Nick.
Technical SEO | | themegroup0 -
Why is an error page showing when searching our website using Google "site:" search function?
When I search our company website using the Google site search function "site:jwsuretybonds.com", a 400 Bad Request page is at the top of the listed pages. I had someone else at our company do the same site search and the 400 Bad Request did not appear. Is there a reason this is happening, and are there any ramifications to it?
Technical SEO | | TheDude0 -
How is a dash or "-" handled by Google search?
I am targeting the keyword AK-47 and it the variants in search (AK47, AK-47, AK 47) . How should I handle on page SEO? Right now I have AK47 and AK-47 incorporated. So my questions is really do I need to account for the space or is Google handling a dash as a space? At a quick glance of the top 10 it seems the dash is handled as a space, but I just wanted to get a conformation from people much smarter then I at seomoz. Thanks, Jason
Technical SEO | | idiHost0 -
International Websites: rel="alternate" hreflang="x"
Hi people, I keep on reading and reading , but I won't get it... 😉 I mean this page: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=189077&topic=2370587&ctx=topic On the bottom of the page they say: Step 2: Use rel="alternate" hreflang="x" Update the HTML of each URL in the set by adding a set of rel="alternate" hreflang="x" link elements. Include a rel="alternate" hreflang="x" link for every URL in the set, like this: This markup tells Google's algorithm to consider all of these pages as alternate versions of each other. OK! Each URL needs this markup. BUT: Do i need it exactly as written above, or do I have to put in the complete URL of the site, like: The next question is, what happens exactly in the SERPS when I do it like this (an also with Step1 that I haven't copied here)? Google will display the "canonical"-version of the page, but wehen a user from US clicks he will get on http://en-us.example.com/**page.htm **??? I tried to find other sites which use this method, but I haven't found one. Can someone give me an example.website??? Thank you, thank you very much! André
Technical SEO | | waynestock0 -
Linkedin how to use it to promote your business
Hi i have been told about linkedin and how good it is but every time i look at it, it puzzles me and i am not sure if it is worth joining or not. I am looking to promote in the UK and not abroad and would like to know how good it is. Even my accountant uses it but each time i look at it i cannot get my head around it and how to use it to promote my business. Can anyone please let me know how much it cost to join and if it will have any benefits for me to promote my business and my sites. I look forward to hearing from you
Technical SEO | | ClaireH-1848860