If a URL canonically points to another link, is that URL indexed?
-
Hi,
I have two URL both talking about keyword phrase 'counting aggregated cells'
The first URL has canonical link pointing to the second URL, but if one searches for 'counting aggregated cells' both URLs are shown in the results.
The first URL is the pdf, and i need only second URL (the landing page) to be shown in the search results.
The canonical links should tell Google which URL to index, i don't understand why both URLs are present in search results? Is 'noindex' for the first URL only solution?
I am using Yoast SEO for my website.
Thank you for the answers.
-
Hey Lana,
Similar to what Anthony said, you're setup should keep the PDF url from being indexed. In order to help ensure the PDF doesn't get indexed you can do the following:
- Use the robots.txt file to block Google crawlers:
User-agent: *
Disallow: *.pdf
- Use rel="nofollow" on links that point to the PDF
-
If set up correctly, using the canonical tag as described above will usually keep the actual PDF out of the index. Using NoIndex is a guaranteed method to keep it out of the index.
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
-
After you remove a 301 redirect that Google has processed, will the new URL retain any of the link equity from the old URL?
Lets say you 301 redirect URL A to URL B, and URL A has some backlinks from other sites. Say you left the 301 redirect in place for a year, and Google had already replaced the old URL with the new URL in the SERPs, would the new URL (B) retain some of the link equity from URL A after the 301 redirect was removed, or does the redirect have to remain in place forever?
Technical SEO | | johnwalkersmith0 -
301 Redirect Url Within a Canonical Tag
So this might sounds like a silly question... A client of mine has a duplicate content issue which will be fixed using canonical tags. We are also providing them with an updated URL structure meaning rwe will be having to do lots of 301 redirects. The URL structure is a much larger task that than the duplicate content so i planned to set up the canonicals first. Then it occurred to me id be updating the canonical tags with the urls from the old structure which brings me to my question. Will the canonical tags with the old urls redirect credit to the new urls with the 301? Or should i just wait until we have the new url structure in place and use these new urls in the canonicals? Thanks!
Technical SEO | | NickG-1230 -
IP Indexing of MySQL with 80,000 links , help please
Hi There, We were just using one server for both Mysql & httpd server. The server's IP address was 207.36.90.69. Time to time the server couldn't handle the requests so we decided to get new servers in order to handle them. When i talk to my system engineer and software developer about this, they've suggested clustering our site http://goo.gl/ITNqs. So we moved our site http://goo.gl/ITNqs to the server (216.87.165.21) but we kept the old machine 207.36.90.69 to use as MySQL server and deleted all HTTP related files last year. Somehow google indexed 80K unnatural links from this old IP 207.36.90.69. We have received an unnatural links warning back in august and got a link related penalty on sept 28th. Our webmaster tools are showing that we have 80,000 link pointing to our site from the old server with only mysql on it. Can someone help us understand how google crawler indexed an IP with no http related files on it for almost a year, 10 months to be exact. Thank you
Technical SEO | | orion680 -
Inbound links with anchor text about pills pointing to our URLs
Hi, I have just noticed one of our websites has lots of inbound links with the words: "order cialis", "**cialis professional online", "**order viagra soft" and so on. I have checked the target URLs source for any kind of suspicious code and found nothing. **What should I look for and what should I do in this case? ** Thanks
Technical SEO | | ceci27100 -
At what point is the canonical tag crawled
Do search engines (specifically Google) crawl the url in the canonical tag as it loads or do they load the whole page before crawling it? Thanks,
Technical SEO | | ao.com0 -
Permanent 301 redirects vs canonical urls?
Im moving a website that was .php to wordpress with a few static HTML pages. Which is better use permanent 301 redirects and delte the old pages, leave the old pages and use canonical urls and 301 redirects or something else?
Technical SEO | | senith0 -
SEO LINKS
New to S.E.O. so excuse my naivety. I have made lots of new links some of them paid for e.g. Best of the Web but I don’t see any change in the latest competitive link analysis. Some of the links we have been accepted for just do not show. Also the keywords we are trying to promote the most have disappeared off the radar for over 2 weeks now. I think we have followed the optimization suggestions correctly. Please could you enlighten me. Regards Paul www.curtainpolesemporium.co.uk
Technical SEO | | CPE0 -
When URL rewrite can lead to un pretty URLs
Hi Mozzers. I've a client that has done a little bit of mess rewriting the URLs of its site. In fact, also the data base driven URLs are rewritten, but the dev forgot to change the space with "-", so that now the 95% of the URLs are like this one: http://www.portalesardegna.com/search/Appartamenti e Residence/ Obviously not really a pretty URL. I am not so sure if this issue has an SEO consecuences (in fact, the site ranks pretty well also with those kind of url), but I am thinking more on usability issue. Could you suggest me any easy fix to this rewrite problem?
Technical SEO | | gfiorelli12