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.
Does google credit links from iFrames or created by Javascript, if so, is one more powerful than the other?
- 
					
					
					
					
 Consider this example, because I want to be clear about what I mean. You have two websites. Lets all them www.a.com and www.b.com. On www.a.com/some/page, there is an iframe something like this: 
 <iframe src="www.b.com/some/special/path"></iframe>
 Then content of this iframe is a bunch of pictures, text and numbers, as well as a group of links, linking each picture to www.b.com for example the links might be:
 www.b.com/content/1
 www.b.com/content/2
 www.b.com/content/3Questions: - When google crawls **www.a.com/some/page, **does it pass link juice to www.b.com/content/*?
- Does google instead consider these to be internal links within b.com itself. because links to www.b.com/content/ ** are actually from b.com itself, since the domain of the iframe is actually: www.b.com/some/special/path 3) Is there any amount of link juice passed from www.a.com/some/page to* www.b.com/some/special/path **because this is the src= element of an iframe that a.com is hosting?
 Consider an alternative setup. Where instead of using an iframe the contents of the above described iFrame is actually added the the page dynamically using javascript, and a call to an API endpoint at b.com. Resulting in these links being added directly to the body of a.com without being wrapped in an iframe element. Questions: 
 4) Do these links that were created after page load still get crawled and credited by google? (i have heard in the past that google was going to start crawling javascript, i just don't know if this is known for a fact yet).
 5) Do links created on the client side hold the same weight as a link that was served directly via the backend html generation?- If both the links within the iframe and the links within the javascript embed method pass link juice. Is one preferred over the other? is one known to be more effective than the other?
 Thanks! 
- 
					
					
					
					
 Hi there. In short, Yes, iframes will pass link juice, but to the page, which is a source of iframe, not to pages, which are linked inside the iframe. And no, javascript created links are not passing rank flow. When using iframe, basically what you are doing is you are pointing to the container on another website, and whatever is inside that container, it's hosted on that another website. That's why rank flows only to src link. As for JS created links - they are considered hidden, devalued or obfuscated. Refer to this page on MOZ - https://a-moz.groupbuyseo.org/learn/seo/internal-link Hope this helps. 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Is there any significant benefit to creating online directory listings that only provide nofollow links to our domain?
 Is there any significant benefit to creating online directory listings that only provide nofollow links to our domain? For context, whilst doing link gap analysis I've found our competitors are listed on local government directories such as getsurrey.co.uk and miltonkeynes.co.uk. Whilst these aren't seen as spam directories, it's still highly unlikely we'll receive much traffic through them. The links they provide to our domain have the nofollow tag. So I wonder whether there's any other benefit to investing the time in creating these listings? Would be interested to hear your thoughts Many thanks in advance Intermediate & Advanced SEO | | Opera-Care1
- 
		
		
		
		
		
		Do I have to many internal links which is diluting link juice to less important pages
 Hello Mozzers, I was looking at my homepage and subsequent category landing pages on my on my eCommerce site and wondered whether I have to many internal links which could in effect be diluting link juice to much of the pages I need it to flow. My homepage has 266 links of which 114 (43%) are duplicate links which seems a bit to much to me. One of my major competitors who is a national company has just launched a new site design and they are only showing popular categories on their home page although all categories are accessible from the menu navigation. They only have 123 links on their home page. I am wondering whether If I was to not show every category on my homepage as some of them we don't really have any sales from and only concerntrate on popular ones there like my competitors , then the link juice flowing downwards in the site would be concerntated as I would have less links for them to flow ?... Is that basically how it works ? Is there any negatives with regards to duplicate links on either home or category landing page. We are showing both the categories as visual boxes to select and they are also as selectable links on the left of a page ? Just wondered how duplicate links would be treated? Any thoughts greatly appreciated thanks Pete Intermediate & Advanced SEO | | PeteC120
- 
		
		
		
		
		
		Help! The website ranks fine but one of my web pages simply won't rank on Google!!!
 One of our web pages will not rank on Google. The website as a whole ranks fine except just one section...We have tested and it looks fine...Google can crawl the page no problem. There are no spurious redirects in place. The content is fine. There is no duplicate page content issue. The page has a dozen product images (photos) but the load time of the page is absolutely fine. We have the submitted the page via webmaster and its fine. It gets listed but then a few hours later disappears!!! The site has not been penalised as we get good rankings with other pages. Can anyone help? Know about this problem? Intermediate & Advanced SEO | | CayenneRed890
- 
		
		
		
		
		
		How to tell the date a link was created
 Does anybody know of a website that can let you know when an external link was created to a site? Or any other way of finding this info out. Thanks Intermediate & Advanced SEO | | RobSchofield0
- 
		
		
		
		
		
		Why are bit.ly links being indexed and ranked by Google?
 I did a quick search for "site:bit.ly" and it returns more than 10 million results. Given that bit.ly links are 301 redirects, why are they being indexed in Google and ranked according to their destination? I'm working on a similar project to bit.ly and I want to make sure I don't run into the same problem. Intermediate & Advanced SEO | | JDatSB1
- 
		
		
		
		
		
		Will Google View Using Google Translate As Duplicate?
 If I have a page in English, which exist on 100 other websites, we have a case where my website has duplicate content. What if I use Google Translate to translate the page from English to Japanese, as the only website doing this translation will my page get credit for producing original content? Or, will Google view my page as duplicate content, because Google can tell it is translated from an original English page, which runs on 100+ different websites, since Google Translate is Google's own software? Intermediate & Advanced SEO | | khi50
- 
		
		
		
		
		
		Link Juice + multiple links pointing to the same page
 Scenario Intermediate & Advanced SEO | | Mark_Ch
 The website has a menu consisting of 4 links Home | Shoes | About Us | Contact Us Additionally within the body content we write about various shoe types. We create a link with the anchor text "Shoes" pointing to www.mydomain.co.uk/shoes In this simple example, we have 2 instances of the same link pointing to the same url location.
 We have 4 unique links.
 In total we have 5 on page links. Question
 How many links would Google count as part of the link juice model?
 How would the link juice be weighted in terms of percentages?
 If changing the anchor text in the body content to say "fashion shoes" have a different impact? Any other advise or best practice would be appreciated. Thanks Mark0
- 
		
		
		
		
		
		Links from new sites with no link juice
 Hi Guys, Do backlinks from a bunch of new sites pass any value to our site? I've heard a lot from some "SEO experts" say that it is an effective link building strategy to build a bunch of new sites and link them to our main site. I highly doubt that... To me, a new site is a new site, which means it won't have any backlinks in the beginning (most likely), so a backlink from this site won't pass too much link juice. Right? In my humble opinion this is not a good strategy any more...if you build new sites for the sake of getting links. This is just wrong. But, if you do have some unique content and you want to share with others on that particular topic, then you can definitely create a blog and write content and start getting links. And over time, the domain authority will increase, then a backlink from this site will become more valuable? I am not a SEO expert myself, so I am eager to hear your thoughts. Thanks. Intermediate & Advanced SEO | | witmartmarketing0
 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				