Canonical error from Google
-
Moz couldn't explain this properly and I don't understand how to fix it. Google emailed this morning saying "Alternate page with proper canonical tag." Moz also kinda complains about the main URL and the main URL/index.html being duplicate. Of course they are. The main URL doesn't work without the index.html page. What am I missing? How can I fix this to eliminate this duplicate problem which to me isn't a problem?
-
where is my post?
-
Duplicate Content Issue:
Having duplicate content on your website can be problematic for search engines like Google. It can lead to confusion about which page should be ranked and indexed, potentially affecting your site's search engine rankings.Canonicalization:
Canonicalization is a method used to inform search engines about the preferred version of a page when multiple versions of the same content exist. It helps prevent duplicate content issues and consolidates the ranking signals for the same content.Based on your description, it seems you have a situation where the main URL and the main URL/index.html are both accessible and show the same content. While you mentioned it's not an issue for you because the main URL doesn't work without the index.html page, it's still considered best practice to handle this properly for SEO reasons.
-
@RVForce (1) Your main URL variant should have a self referencing canonical. (2) Your index.html page variant should have a canonical tag pointing at the main URL variant.
On both pages, use:
e.g. <link rel="canonical" href="https://www.example.com/" /> -
We have our mobile website as a subfolder. Is this the correct way to use canonical tags
main website <link rel="canonical" href="https://www.example.com/" />
mobile subfolder mobile <link rel="canonical" href="https://www.example.com/mobile" />Our primary website https://www.example.com and our mobile website https://www.example.com/mobile is a subfolder.
Is this the correct way to use "canonical" tags
main website <link rel="canonical" href="https://www.example.com/" />
mobile subfolder mobile <link rel="canonical" href="https://www.example.com/mobile" />
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
-
Virtual URL Google not indexing?
Dear all, We have two URLs: The main URL which is crawled both by GSC and where Moz assigns our keywords is: https://andipaeditions.com/banksy/ The second one is called a virtual url by our developpers: https://andipaeditions.com/banksy/signedandunsignedprintsforsale/ This is currently not indexed by Google. We have been linking to the second URL and I am unable to see if this is passing juice/anything on to the main one /banksy/ Is it a canonical? The /banksy/ is the one that is being picked up in serps/by Moz and worry that the two similar URLs are splitting the signal. Should I redirect from the second to the first? Thank you
On-Page Optimization | | TAT1000 -
Unsolved Google Search Console Still Reporting Errors After Fixes
Hello, I'm working on a website that was too bloated with content. We deleted many pages and set up redirects to newer pages. We also resolved an unreasonable amount of 400 errors on the site. I also removed several ancient sitemaps that listed content deleted years ago that Google was crawling. According to Moz and Screaming Frog, these errors have been resolved. We've submitted the fixes for validation in GSC, but the validation repeatedly fails. What could be going on here? How can we resolve these error in GSC.
Technical SEO | | tif-swedensky0 -
Google Ecommerce Alerts
I recently started getting email notifications from Google re: new products on our websites. I am subscribed to Google alerts. Can anyone shed some light on this?
Technical SEO | | AMHC0 -
How to fix rel canonical tags?
Hello there, I am trying to fix the issues with my campaign and I am trying to fix Rel canonical issues. I tried to read a few blogs and other sources which talked about the Rel canonical but I am not able to understand why is Rel Canonical happening? I understand that http://elegancealways.com is not the same as http://elegancealways.com/about-us/ but then I cannot change the link as the link is correct. I read about 301 and 302 redirects. I do not understand that which link is correct then? The errors SEO MOZ is showing is what I am not able to understand as these links are correct. I need help here!! Thanks Vineeta qTc2a2H.png
Technical SEO | | vineeta0 -
Canonical Link Quesiton
I wrote an article that is a page article, but would also be a very good blog post - So my question is two things: 1. If i post it as a static page and syndicate it as a blog post and have it as a canonical link to the page, google will read see the blog and read the page _url as the one with credit correct? In turn not dinging me for duplicate content. 2. Given if the above statement is correct, should I write the blog and put it on my static page referencing the blog or the way i have it as a static page with the blog using a canonical reference back to the page. Any input would be greatly appreciated.
Technical SEO | | tgr0ss0 -
Rel=canonical + no index
We have been doing an a/b test of our hp and although we placed a rel=canonical tag on the testing page it is still being indexed. In fact at one point google even had it showing as a sitelink . We have this problem through out our website. My question is: What is the best practice for duplicate pages? 1. put only a rel= canonical pointing to the "wanted original page" 2. put a rel= canonical (pointing to the wanted original page) and a no index on the duplicate version Has anyone seen any detrimental effect doing # 2? Thanks
Technical SEO | | Morris770 -
Google webmasters shows 37K not found errors
Hello we are using Joomla as our cms, months ago we used a component to create friendly urls, lots of them got indexed by google, testing the component we created three different types of URL, the problem now is that all of this tests are showing in google webmasters as 404 errors, 37,309 not found pages and this number is increasing everyday. What do you suggest to fix this?? Regards.
Technical SEO | | Zertuxte0