Location.href vs href?
-
I just got off a Google Hangout with John Mueller and was left a little confused about his response to my question.
If I have an internal link in a div like
widgetwill it have the same SEO impact as widget
John said that as you are unable to attribute a nofollow in an onclick event it would be treated as a naked link and would not pass pagerank but still be crawled.
Can anyone confirm that I understood it correctly? If so should all my links that have such an onclickevent also have an html ahref in the too? Such as
Many times it is more useful for the customer to click on any area of a large div and not just the link to get to the destination intended?
Clarification on this subject would be very useful, there is nothing easily found online to confirm this.
Thanks
-
OK, so as I expected there would be nobody able to answer this question
So I asked John Mueller at Google!
I got a very precise answer.
widget
A div with an onclick is nofollow. so this would be a bad idea if you want internal pagerank to flow.
Currently the only way to make your clickable areas functional and Google friendly is this way below:
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
-
Location Links in Footer
Our business is in 10 cities. We offer identical services in each city, there's absolutely nothing different about the services we offer based on location. We have a contact page for each city with a bit of unique content (phone, address, photo of city, list of counties we service). It really would be a grey area to create subsites for each city and try to rewrite the service description content 10 times. However, we want to improve organic results. We of course have Google Places listings for each city. From an on-page SEO perspective, wouldn't it only have the possibility of benefiting, not hurting local SEO but add the city name linked to that city's contact page in the footer? I've seen arguments against it, and could see maybe if you were in like 50 cities instead of 10, but is there really any observed downside to doing that in the footer for every page? We can't title the difference service pages with the city name in the headings or page title, so at least we'd have anchor text in the footer.
Intermediate & Advanced SEO | | Wizkids9640 -
Lower quality new domain link vs higher quality repeat domain link
First time poster here with a dilemma that head scratching and spreadsheets can't solve! I'm trying to work out whether to focus on getting links from new domains or to nurture relationships with the bigger sites in our business and get more links. Of the two links below which does the community here think would be more valuable a signal to Google? Both would be links from within relevant text/post copy. Link 1. Site DA 30. No links currently from this domain. Link 2. Site DA 60. Many links over last 12 months already from this domain. I suspect link 1 but given the enormous disparity in ranking power am I correct?! Thanks for any considered opinions out there! Matthew
Intermediate & Advanced SEO | | mat20150 -
Multiple Sitemaps Vs One Sitemap and Why 500 URLs?
I have a large website with rental listings in 14 markets, listings are added and taken off weekly if not daily. There are hundreds of listings in each market and all have their own landing page with a few pages associated. What is the best process here? I could run one sitemap and make each market's landing page .8 priority in the sitemap or make 14 sitemaps for each market and then have one sitemap for the general and static pages. From there, what would be the better way to structure? Should I keep all the big main landing pages in the general static sitemap or have them be at the top of the market segmented sitemaps? Also, I have over 5,000 urls, what is the best way to generate a sitemap over 500 urls? Is it necessary?
Intermediate & Advanced SEO | | Dom4410 -
TLDs vs ccTLDs?
*Was trying to get this question answered in another thread but someone marked it as "answered" and no more responses came. So the question is about best practices on TLDs vs ccTLDs. I have a .com TLD that has DA 39 which redirects to the localized ccTLDs .co.id and .com.sg that have DA 17. All link building has been done for the .com TLD. In terms of content, it sometimes overlaps as the same content shows up on both the ccTLDs. What is best practices here? It doesnt look like my ccTLDs are getting any juice from the TLD. Should I just take my ccTLDs and combine them into my TLD in subdomains? Will I see any benefits? Thanks V j3LWnOJ
Intermediate & Advanced SEO | | venkatraman0 -
Lowercase VS. Uppercase Canonical tags?
Hi MOZ, I was hoping that someone could help shed some light on an issue I'm having with URL structure and the canonical tag. The company I work for is a distributor of electrical products and our E-commerce site is structured so that our URL's (specifically, our product detail page URL's) include a portion (the part #) that is all uppercase (e.g: buy/OEL-Worldwide-Industries/AFW-PG-10-10). The issue is that we have just recently included a canonical tag in all of our product detail pages and the programmer that worked on this project has every canonical tag in lowercase instead of uppercase. Now, in GWT, I'm seeing over 20,000-25,000 "duplicate title tags" or "duplicate descriptions". Is this an issue? Could this issue be resolved by simply changing the canonical tag to reflect the uppercase URL's? I'm not too well versed in canonical tags and would love a little insight. Thanks!
Intermediate & Advanced SEO | | GalcoIndustrial0 -
Guest Blogging Results - domain authority vs. page authority -
I have been guest blogging on various websites. The web pages that display my guest posts have zero page authority but a great domain authority of 60/100 or more. 2 links I developed are noted below as examples: http://www.evancarmichael.com/Small-Business-Consulting/8101/How-To-Hire-Extraordinary-Salespeople.html https://www.biggerpockets.com/blogs/4195/blog_posts/28772-4-essentials-for-rental-property-owners Am I wasting my time with this?
Intermediate & Advanced SEO | | superZj
Thank you!0 -
Domain vs Subdomain for Multi-Location Practice
I have a client who has 2 locations (Orlando & Tampa) and would like to keep the current domain for both locations (DA 29). We want to target additional cities within each service area (Orlando & Tampa). Each service area would target 2 cities on the main pages and 4-5 cities with "SEO" pages which contains unique content specific to the given city. Would I be better off creating sub domains (www.orlando.domain.com & www.tampa.domain.com), creating subfolders (www.domain.com/orlando, etc) or keeping the domain as is and create SEO pages specific to each city? We want to spread the domain authority to both locations.
Intermediate & Advanced SEO | | Red_Spot_Interactive0 -
Featured citations vs. regular citations
Do regular citations have the same impact as featured citations for Google Local? or is it the higher a company is isted the more impact it will have on a google local page?
Intermediate & Advanced SEO | | SEODinosaur0