Questions tagged [canonical-url]

For webpages which may duplicate some or all of their content with other pages (for legitimate reasons), the canonical URL is the URL of the page which search engines should link to. This tag is used for canonical 301 redirects and other methods. See the [rel-canonical] tag for more information on rel="canonical".

Filter by
Sorted by
Tagged with
14
votes
1answer
4k views

Canonical URL for a home page and trailing slashes

My home page could be potentially linked as: http://example.com http://example.com/ http://example.com/?ref=1 http://example.com/index.html http://example.com/index.html?ref=2 (the same page is ...
29
votes
2answers
1k views

How to use rel='canonical' properly

I have 3 URLS that serve the same data: www.example.com/product/foo www.example.com/product/foo?id=1 www.example.com?product=foo For Google's sake I want the URL www.example.com/product/foo to be ...
8
votes
3answers
563 views

Why treat these as URLs with different path capitalization and trailing slash as different?

These are all strictly different urls: http://www.example.com/page http://www.example.com/pAge http://www.example.com/page/ http://www.example.com/paGE/ I get that it conforms to the strict ISO ...
20
votes
5answers
865 views

How to correctly mark up different versions of the same document which are non-canonical

The use case is a document which has multiple versions which are all simultaneously available. For example, documentation on a product for each version of that software: /v1/install-guide /v2/install-...
3
votes
3answers
1k views

HTTP to HTTPS: Wait for new sitemap to be indexed?

Running HTTP and HTTPS versions of the site side-by-side. HTTP is canonical right now. Goal is to change that to HTTPS. Created a new site in Search Console and submitted a new sitemap 4 days ago. ...
7
votes
2answers
1k views

Does the “canonical name” in DNS make any difference to search engines?

Some of our sites are setup with an "a record" to an IP address and some are setup as a cname of a server that then has an "a name" to the same server IP. I want it to be consistent. Which is the ...
7
votes
2answers
2k views

Does www and non-www suffer duplicate content penalty?

Do you know if I should use <link rel="canonical" tag, or 301 redirect from: http://example.com to http://www.example.com ...to avoid a duplicate content penalty in case other pages link to the ...
3
votes
1answer
379 views

Does Rel=Canonical Pass PR from Links or Just Fix Dup Content

One of the issues with duplicate content is that links can be split across several versions of your page, it was my understanding the a 301 redirect is really the only option for retaining some of the ...
13
votes
1answer
9k views

How does Google treat hash fragment inside a canonical URL

I have seen many websites using slugs in their URL to boost SEO such as this: http://example.com/article/1543/how-to-boost-seo/ I was thinking if I could do something like this instead: http://...
6
votes
2answers
2k views

Pagination, Duplicate Content, and SEO

Please consider a list of items (forum comments, articles, shoes, doesn't matter) which are spread over multiple pages. Different sort orders are supported (by date, by popularity, by price, etc). So,...
4
votes
1answer
2k views

I used rel=“canonical” and hreflang=“x-default”, but global site is missing and receiving “no return tags” error

Here is a sample of the code <link rel="canonical " href="http://www.kaspersky.com/anti-virus-trial" hreflang="en" /> <link rel="alternate" href="http://usa.kaspersky.com/downloads/free-home-...
5
votes
2answers
175 views

Can I declare a duplicate page via javascript for google?

Most sources of documentation state that one can declare a webpage a duplicate of another by applying this tag on the duplicate page: <link rel="canonical" href="(absolute URL to original page)"&...
3
votes
2answers
188 views

Canonical URLs in sortable paginated lists

How should one use rel="canonical" in sortable paginated lists? An unsorted list of products is not the same as the same list sorted, nor are lists sorted in different ways equivalent. For example, ...
3
votes
1answer
122 views

How to construct the URL for search with multiple input?

I am having a home page where I can search on multiple tags. How should I construct the URL? Suppose I search for tag = test_1 and tag = test_2 Should I construct the url like http://www.example....
1
vote
1answer
146 views

Google selecting wrong canonical

This page addresses the question of duplicate content, but does not describe what I'm facing. After first encountering the Google "canonical algorithm bug" 2 months ago, I've made only a little ...
1
vote
2answers
2k views

How to avoid hreflang return errors with URL that contain parameters

I'm getting HREF no return errors in search console and I don't understand why. We have a page that contains buttons for get multiple pages of results. URL structure: Base page: `https://example....
-1
votes
1answer
564 views

How to remove trailing slash from my root URL in htaccess?

I've tried several ways to remove the trailing slash from my URL in .htaccess and nothing worked but now even my URL can't be found because now it has a slash. Here is what my .htaccess looks like. I ...
13
votes
1answer
2k views

How to handle canonical url changes like Stack Overflow

Stack Overflow sites all have pretty urls which include the question title. In the HTML it also have canonical url for that page. I just found out that when I change the question title, the url is ...
9
votes
3answers
4k views

Why is Google indexing pages with ?utm_campaign query string

Recently I have noticed that Google is indexing URLs containing utm_campaign, utm_source and utm_medium query string arguments. In the results, Google shows URLs with these query strings rather than ...
9
votes
3answers
18k views

What is the solution for “Submitted URL not selected as canonical” in Google Search Console beta?

Google's new webmaster tools has a section 'Index coverage'>'Excluded'>'Submitted URL not selected as canonical'. I am getting 3 internal links in the section "Submitted URL not selected as ...
6
votes
2answers
2k views

Does URL encoding create duplicate content?

An SEO expert was testing my site, and noticed that my URLs contained the special character :. He said that would create duplicate content, because google would interpret any url containing : as two ...
6
votes
1answer
4k views

What is a best canonical URL for a search result page? [closed]

I have read a Google guideline About rel="canonical" and I have known that A canonical page is the preferred version of a set of pages with highly similar content. I have a search page which URL ...
4
votes
1answer
5k views

Clean URLs without PHP file extension

I want to make my URLs clean, for example: http://sample.com/about-me instead of: http://sample.com/about-me.php This is my code: RewriteEngine On RewriteBase / RewriteCond %{...
4
votes
1answer
255 views

Canonical tag for untranslated content on a multilingual site

We have a multilingual site where some pages have not been translated yet. However, our CMS already serves them under their language-specific URL, for example: https://example.com/email-inbox/ and ...
4
votes
1answer
4k views

Canonicalization for www/non-www URLs and IP/domain on a Windows server

I have checked my website using this SEO tool and the results report 2 issues: Test your site for potential URL canonicalization issues. Canonicalization describes how a site can use slightly ...
3
votes
2answers
849 views

How to correctly remove MULTIPLE parameters from the Google index using htaccess and canonical / noindex?

I found a similar question with a great answer for removing a single URL parameter. However, what if I have 20+ URL parameters that I don't want indexed? Also, in the example solution below, it is ...
3
votes
2answers
242 views

Is there a way I can redirect search engine traffic by U.S. State or Zip Code?

I work for an e-commerce company that operates solely within the United States. However, the price of goods and availability of our products depends on what State or even Zip Code you reside in (we ...
3
votes
2answers
2k views

SEO - does Google read dynamic canonical tags? [duplicate]

I used the following code to redirect all the HTTP pages of a site to the https:// version. <link rel="canonical" href=""> <script> var url = window.location.href; // get current URL ...
0
votes
2answers
1k views

Avoid SEO loss after URL structure change

We recently re-wrote our site from Umbraco to WordPress. This has been done by third-party developers. I have been the project manager and it is my mistake that I haven't notice the change of URLs ...
5
votes
1answer
269 views

Should I use a canonical tag when only 50% of the content is duplicated?

I have a city guide website covering bars, restaurants and clubs. Each of these venues have their own subpage on my website like: example.com/steersons-steak-house-darling-harbour-sydney/ For all ...
4
votes
1answer
104 views

SEO - Canonical Tags and, 301 and Product Variations

My website has undergone many changes over the past 10 years, as I guess most have, rankings have dropped and over the past few months I have been working on the site and CMS a lot to improve it, but ...
4
votes
2answers
272 views

Is it 100% safe to add NOINDEX tag to any duplicate/copy content issues?

Usually I can simply copy and paste content from any blogs to the my blog, and add a no index tag to avoid any duplicate/copy content issues. I have copied above part from popular blog. I need to ...
4
votes
2answers
343 views

How to specify the canonical URL for downloadable versions of the page (doc, pdf, txt, etc)

I've spent much time searching about the situation I'm in, before I post this question. I have a poetry page (working for it currently) and I want users to be able to download poem in PDF, DOC, and ...
3
votes
2answers
441 views

4 URLs lead to the same page content, are 301 redirects better or setting rel canonical better?

All the following pages have the same exact content: http://www.example.com/seo-url (rel canonical URL) http://www.example.com/ID1234 http://www.example.com/content/ID1234 http://www.example.com/...
3
votes
3answers
293 views

When to use canonical? Prepaid products of different values

I have a webshop for different kind of prepaid cards. Every kind of prepaid card is also available in a different value. The product page of those different values differ only in a title (...
3
votes
2answers
598 views

Serving images on CDN; allow crawl of origin or CDN or both?

I have searched and read through a lot of questions regarding this subject, but cannot seem to find anyone that directly addresses my problem. I have a CDN for all my static images img.domain.net, it'...
3
votes
2answers
168 views

What should I use for a canonical URL for a search page that has a few search options?

I read this post here: What is a best canonical URL for a search result page? and I have search page which can set more than one item like this: example.com/search/index.php?keywords=...
3
votes
2answers
154 views

Website opening both on domain name and IP. Is that a problem?

So, http://example.com/ and http://192.0.2.32/ both are displaying a web page. From SEO point there is content duplication issue when both domain and IP displays the same content. This can be solved ...
3
votes
2answers
2k views

Change web folders names with uppercase to lowercase or not?

I have web directories with upper case letters and site is on Apache server. Example: www.example.com/ServiceTools/page.htm I have read that using upper case letters in folder name is bad practice ...
2
votes
2answers
85 views

Google selects one unrelated page as Canonical for many other pages, blocking our pages from indexing

Since start of April, we have many pages such as: https://www.example.com/index.pl?page=directcore for which Google continues to select this page as canonical: https://www.example.com/index.pl?page=...
2
votes
1answer
351 views

2 URLs pointing to one website with a unique canonical URL

I have 2 domains submitted to Google that both point to my WordPress site. I am using Yoast SEO plugin to take care of the basic SEO metadata for the website. When I view the source for each URL I ...
2
votes
1answer
92 views

How duplicate must two pages be in order for one to require rel=canonical?

I've been reading up on: <link rel="canonical" href="(original url)"> And one thing that I'm trying to figure out is the lowest percent of duplication must any two pages need to be in order ...
2
votes
1answer
1k views

Google not indexing/updating rel=“canonical” pages

I had same content with different links and I wanted to prioritize the indexing of different webpages. For example /A/1232 and /A/1232/tum_bin_jiya_jay represent same content but I wanted to give ...
2
votes
1answer
75 views

Implementing Canonical URLs

I have a confusion in implementing canonical URLs; Client has shared a set of URLs like; http://example.com/eg/ http://example.com/eg/index?32312323 http://example.com/eg/index?54545545 http://...
2
votes
2answers
5k views

Duplicate, submitted URL not selected as canonical after changing domain

I've recently changed the domain from https://example.me to https://example.im. However, https://example.im is not being displayed on Google. After inspecting it in the Search Console, this is what I ...
2
votes
2answers
3k views

IP canonical URL issue

So I did a search engine optimization test today and one thing it came back with was: Your site's IP XX.XXX.XXX.XX does not redirect to your site's domain name. This could cause duplicate content ...
2
votes
2answers
614 views

https:// redirect to https://www in NGINX

How do you redirect all non-www links to my website to https://www. I know that there are a lot of solutions for .htaccess but I haven't been able to find anything sufficient for nginx. At the ...
1
vote
1answer
1k views

How do I hide a 301 redirect from my root domain?

I was analyzing my webpage SEO using an online tool where I saw that my HTTP status for my root domain name www.example.com was resulting in a 301 redirect to www.example.com/index.html. I would much ...
1
vote
2answers
1k views

Multisites Network SEO::Can self-referencing canonical tag(rel=“canonical”) inside article improve google rating?

Can self-referencing canonical tag(rel="canonical") inside article improve google rating? The Case: Company have 40 sites with original content and 1 main site with some of 40 sites articles. Main ...
1
vote
1answer
808 views

pagination and duplicate content with one paragraph in each page with totally different listing

I have a module in my site which can be accessed like sitename.com/module/ This module has pagination. In the first page i have two paragraphs which describe about the site. This will appear in all ...