Passing link juice via javascript?
-
Hello
Client got website with javascript generated content. All links there (from mainpage to some deeper page) are js generated. In code there're only javascripts and other basic typical code but no text links (<a href...="" ).<="" p=""></a>
<a href...="" ).<="" p="">The question is: are those js links got the same "seo power" as typical html href links?.For example majestic.com can't scan website properly and can't show seo metrics for pages. I know google crawls them (links and pages) but are they as good as typical links?</a>
<a href...="" ).<="" p="">Regards,</a>
-
Yes, but article got 1y so it can be not so accurate now.
-
Hi Krzysztof,
Not too much information out there regarding how much link equity is passed through a javascript link, however, this study published by Branded3.com shows their evidence that 'pagerank' is passed through JavaScript redirects. Again, I don't know how much equity is being lost due to the JavaScript redirect (if any) but I imagine links would be treated in a similar manner.
https://www.branded3.com/blog/seo-javascript-redirects-evidence-pass-pagerank/
-
I think the same but need some more "proofs" like a/b tests or something.
-
Hi Krzysztof,
It's best practice for internal links to have href attributes. My understanding is although Google will be able to find internal links dependant on JavaScript, they're not treated the same, and that the passing of page rank will be negatively impacted.
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
-
Canonicals Passing Link Juice?
After having read this thread, the answer seems to be a tentative "Yes", but I am curious if I am doing this wrong, or causing myself problems, for a specific situation. We have a thread on the forums that has over 50,000 views for that thread alone. No doubt many people have linked to it across the web, and it ranks very well with Google. But we are dealing with a major problem in that the main portion of our site (home page and core content) which are the most important, aren't ranking in Google at all. A big part of this is because that part of the site hasn't been updated in years, whereas the forum is updated daily. By users. We've begun putting out quality content in our News Center lately, and hoping to start boosting its presence in Google. We have an article on the exact same topic that the forum thread covers. I was thinking of putting a canonical on that thread, pointing to the article, and hopefully pointing some very powerful link juice, popularity, and traffic into our news center articles. People can comment there as well if they like. Are there any potential downsides to doing this? My hope is that the forum thread loses rankings and the article takes on its rankings. Thank you.
Intermediate & Advanced SEO | | HLTalk1 -
Internal Links - Different URLs
Hey so, In my product page, I have recommended products at the bottom. The issue is that those recommended products have long parameters such as sitename.com/product-xy-z/https%3A%2F%2Fwww.google.co&srcType=dp_recs The reason why it has that long parameter is due to tracking purposes (internally with the dev and UX team). My question is, should I replace it with the clean URL or as long as it has the canonical tag, it should be okay to have such a long parameter? I would think clean URL would help with internal links and what not...but if it already has a canonical tag would it help? Another issue is that the URL is different and not just the parameter. For instance..the canonical URL is sitename.com/productname-xyz/ and so the internal link used on the product page (same exact page just different URL with parameter) sitename.com/xyz/https%3A%2F%2Fwww.google.co&srcType=dp_recs (missing product name), BUT still has the canonical tag!
Intermediate & Advanced SEO | | ggpaul5620 -
What things, that we might overlook, help retain link juice on the site?
Since subscribing to Moz, I have been focussing alot on some of the more technical aspects of SEO. The current thing I am finding interesting is stopping link juice leaks. Here are a selection of some of the things I have done: I have cloaked my affiliate links - see http://yoast.com/cloak-affiliate-links/ Removed some html coded social share links within the theme, and replaced with javascript plugin (http://wordpress.org/plugins/flare/) Used the Moz toolbar to view as Google, to see what google is seeing. Removed some meta links at the bottom of blog posts (author etc) that were duplicated. Now, I don't intend to go over the top with this, as links to social accounts on each page are there to encourage engagement etc, but are there any things you may have come across \ tips that people may have overlooked but perhaps should look out for? As example as some of the things that might be interesting to discuss: Are too many tags, categories bad? Do you index your tag, date archive pages? Does it matter?
Intermediate & Advanced SEO | | Jonathan19790 -
Building High PR Links
Would this technique work well for ranking? Get a relevant guestpost on a relevant site. Then send high PR links to that page to create pr3-5 relevant links to your main site.
Intermediate & Advanced SEO | | court120 -
Because Goolge chose this link to my site?
I'm better ranked in Google for that link (http://www.vipgoldrj.com/paginas/ensaios.html) and not in (http://www.vipgoldrj.com/), you know you explain why? In all keywords, except that (luxury escorts in Rio de Janeiro) Sorry my english, I'm from Brazil and I'm using Google translator.
Intermediate & Advanced SEO | | WebMaster0210 -
Link Juice Vs. Page Rank
What is better from an SEO point of view a Page with Page Rank of 5 with 0 clicks linking to your site or a page with a Page Rank of 3 with 1000 clicks linking back to your site? Is link juice important? do search engines count Link Juice?
Intermediate & Advanced SEO | | SEODinosaur0 -
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 -
What passes more value, a contextual link or a 1-to-1 301 redirect?
I have a client who is running a website which just lost a significant amount of rankings and by extension organic traffic in a redesign. Call it newsite.com. The client also has an older site that will no longer be updated, but has good authority that's built up over time. It even out ranks the current site for some queries. This website has no real value to my client. We want to try to pass the authority from oldsite.com to newsite.com as efficiently as possible. Each site has pages a good amount of matching pages, ie. oldsite.com/subject1 and newsite.com/subject1 My question is, would it provide more value to put a contextual link on the old page or simply redirect the entire page to the new site? oldsite.com/subject1 contains a link to newsite.com/subject1 oldsite.com/subject1 301 redirects to newsite.com/subject1 My guess is that the 301 would pass more value, but would like a SEOMoz opinion as well! Thanks!
Intermediate & Advanced SEO | | Alder1