- You can use canonical URLs to avoid duplicates, improve links, and ranking signals for content available through multiple URL structures.
- It is quite possible that the same content could be accessed through multiple URLs. It is also possible that content can be distributed to different URLs and domains entirely.
- By default, canonical tags would be ignored.
- To enable canonical URL indexing, please set ignore canonical as No in the HTTP collection settings.
- Your site has multiple URLs as you position the same page under multiple sections.
http://sample.com/tea/ http://sample.com/hot-beverage/tea http://sample.com/drinks/tea
- You serve the same content for the www subdomain or the http/https protocol.
http://sample.com/tea/ https://sample.com/tea http://www.sample.com/tea
- Content is replicated partially or fully in different pages or sites in the domain
http://discussion.sample.com/tea/ http://blog.sample.com/tea http://www.sample.com/tea
This replication of pages could result in a few challenges for those who search for them in SearchBlox resulting in repetitive content in results pointing to different pages. To overcome this challenge you could define Canonical URL for pages that have similar or equivalent content in multiple URLs/pages.
- Set the site which is most preferred as the canonical URL
- Indicate the preferred URL with the rel="canonical" link element as shown.
<link rel="canonical" href="http://www.sample.com/tea" />
On indexing the URL, SearchBlox will index only the URL that has been specified as canonical.
- To avoid error, please use the absolute path instead of the relative path in canonical URLs.
- Please note that while we encourage you to use any of these methods, none of them is mandatory.
- If you don't indicate a canonical URL, Searchblox will identify the current URL as the best version or URL.
- Robots.txt is the basic rule that gets considered in HTTP crawling after path settings.
- If you do not want to follow the robots.txt then enable ignore robots in the HTTP collection settings.
- The rules specified robots.txt will take the highest precedence over other HTTP collection rules or settings specified in the collection.
- robots.txt can be found in the URL
- robots.txt is used by the website to give instruction to crawling bots on what can be crawled and what not to be crawled.
- Rules specified in robots.txt would be considered by default by the crawler as ignore robots field would be disabled by default.
User-agent: *means that the disallow section that follows next is applicable to all robots.
Disallow: /tells the robot that it should not visit any pages on the site.
Disallow:tells the robot that it can visit all pages on the site.
Updated about 1 year ago