Can obfuscated Javascript be used for too many links on a page?
-
Hi mozzers
Just looking for opinions/answers on if it is ever appropriate to use obfuscated Javascript on links when a page has many links but they need to be there for usability?
It seems grey/black hat to me as it shows users something different to Google (alarm bells are sounding already!) BUT if the page has many links it's losing juice which could be saved.......
Any thoughts appreciated, thanks.
-
Hi John
Thank you for your reply. It's kind of what I was thinking - if it feels grey or iffy....it probably is!
The reasoning was that it is a custom system with a list of car manufacturers, with outbound links to their websites. That's 34 external links on every page.
The client didn't develop the system so I'm trying to work with it and optimise as best I can, without needing them to incur development costs.
Thanks again for your reply.
Trevor
-
Hey Trevor -
A couple of things here. First, I would never recommend that someone use obfuscated Javascript on links in order to make it so that the crawlers cannot see them.
Also, I think the "too many links on a page" guideline is not one to follow too strictly. It's not an "error" in the Moz Pro Campaigns because it is a guideline. Depending on your site, you can have many more than 100 links on a page and be fine. Or, you can use other ways (iframes, nav behind Javascript) to have these links available to the crawlers.
Just remember (as I am sure you do) that these links will not pass any link juice and you will need to use other ways to get your pages indexed and to have a good crawler-friendly architecture.
Just my two cents. I don't think you'd be cloaking, but it's starting to get a bit iffy. I'd steer clear.
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
-
Is the flow of page rank through anchor text links diminished if hidden using tabs
Hi there, Whilst there is plenty of information online regarding the devaluation of hidden content using tabs, it seems to be more difficult to get a clear answer as to how page rank is impacted when anchor text links are hidden. If an anchor text link is hidden using tabs, will the flow of page rank to the page the anchor text leads to be negatively impacted? If so, why? To add further context, whilst the anchor text link would be visible in the HTML, the tab would be dependant on JavaScript to function. Thanks,
Intermediate & Advanced SEO | | SEONOW1230 -
Should I use noindex or robots to remove pages from the Google index?
I have a Magento site and just realized we have about 800 review pages indexed. The /review directory is disallowed in robots.txt but the pages are still indexed. From my understanding robots means it will not crawl the pages BUT if the pages are still indexed if they are linked from somewhere else. I can add the noindex tag to the review pages but they wont be crawled. https://www.seroundtable.com/google-do-not-use-noindex-in-robots-txt-20873.html Should I remove the robots.txt and add the noindex? Or just add the noindex to what I already have?
Intermediate & Advanced SEO | | Tylerj0 -
Strange 404s in GWT - "Linked From" pages that never existed
I’m having an issue with Google Webmaster Tools saying there are 404 errors on my site. When I look into my “Not Found” errors I see URLs like this one: Real-Estate-1/Rentals-Wanted-228/Myrtle-Beach-202/subcatsubc/ When I click on that and go to the “Linked From” tab, GWT says the page is being linked from http://www.myrtlebeach.com/Real-Estate-1/Rentals-Wanted-228/Myrtle-Beach-202/subcatsubc/ The problem here is that page has never existed on myrtlebeach.com, making it impossible for anything to be “linked from” that page. Many more strange URLs like this one are also showing as 404 errors. All of these contain “subcatsubc” somewhere in the URL. My Question: If that page has never existed on myrtlebeach.com, how is it possible to be linking to itself and causing a 404?
Intermediate & Advanced SEO | | Fuel0 -
For those of you that used LINK DETOX.
Did you go ahead and remove all the TOXIC and HIGH RISK links? Just the toxic? Were you successful with the tool?
Intermediate & Advanced SEO | | netviper0 -
Can Google read my backlink in Javascript??
Hi SeoMoz community! I have a software product, which our clients implement onto their websites. It is like a pop up box. I know that backlinks are very important for SEO ranking, and I really want to give our clients 2 options of product: 1. you can get the free/cheaper option if you use the code which has a keyworded backlink to our site on it 2. you can pay small fee if you don't want to use the version with a link to our site on it Now, the problem is that the product is written entirely in Javascript, and I don't think that Google crawls this, do they? Is there a way around this? Thanks for your help!
Intermediate & Advanced SEO | | qdigi0 -
Blocking Pages Via Robots, Can Images On Those Pages Be Included In Image Search
Hi! I have pages within my forum where visitors can upload photos. When they upload photos they provide a simple statement about the photo but no real information about the image,definitely not enough for the page to be deemed worthy of being indexed. The industry however is one that really leans on images and having the images in Google Image search is important to us. The url structure is like such: domain.com/community/photos/~username~/picture111111.aspx I wish to block the whole folder from Googlebot to prevent these low quality pages from being added to Google's main SERP results. This would be something like this: User-agent: googlebot Disallow: /community/photos/ Can I disallow Googlebot specifically rather than just using User-agent: * which would then allow googlebot-image to pick up the photos? I plan on configuring a way to add meaningful alt attributes and image names to assist in visibility, but the actual act of blocking the pages and getting the images picked up... Is this possible? Thanks! Leona
Intermediate & Advanced SEO | | HD_Leona0 -
Too many links?
I've recently taken over a site from another agency, which has hundreds of linking root domains. These domains are of very low quality and, in my opinion, are being ignored by Google. Is it best to 'clean up' some of these links, or leave them and start building quality links? I just don't want to waste time cleaning link profiles if there's no need.
Intermediate & Advanced SEO | | A_Q0 -
Can I reduce number of on page links by just adding "no follow" tags to duplicate links
Our site works on templates and we essentially have a link pointing to the same place 3 times on most pages. The links are images not text. We are over 100 links on our on page attributes, and ranking fairly well for key SERPS our core pages are optimized for. I am thinking I should engage in some on-page link juice sculpting and add some "no follow" tags to 2 of the 3 repeated links. Although that being said the Moz's on page optimizer is not saying I have link cannibalization. Any thoughts guys? Hope this scenario makes sense.
Intermediate & Advanced SEO | | robertrRSwalters0