URL has caps, but canonical does not. Now what?
-
Hi,
Just started working with a site that has the occasional url with a capital, but then the url in the canonical as lower case. Neither, when entered in a browser, resolves to the other. It's a Shopify site. What do you think I should do?
-
I've had some run-ins with case-sensitive URLs in the past and it drives me crazy, I don't understand why CMSs still do that!! While canonical tags are a perfectly fine way to handle this, there's a better solution. Brian Love wrote a great blog post on how to do server-side URL lower-casing. I've used this on a few sites and it works great.
-
In my opinion, you dont have to redirect if you have set the canonicals. Couple of things to keep in check (more best practice) with this approach -
1. All the internal links are lower case - just makes the website look cleaner by saving a lot of search engine bots time identifying the canonical urls. Less processing for search engine bots this way. Also, it will help with analytics tracking. If the internal links are uppercase then users will end up browsing upper case URLs. If lower case URLs are indexed and getting traffic but after reaching your website users start viewing upper case URLs too then it can cause your analytics data to be scattered between these two.
2. Monitor your organic results to see what URLs are indexed in SERPs. If the canonical tags are implemented well and search engines have crawled your website, your preferred URLs should show in organic SERPs.
-
That might be an YUGE number of urls. Do you think forwarding all those is really worth doing, since the the canonical is always the lower case version?
-
you will have to redirect one URL to another in order to have them resolved the way you want.
If you have canonical tags implemented, then it wont redirect and resolve. The purpose of canonical tag is to let search engines know about your preferred URL. It doesnt redirect search engines or users to your preferred page.
Hope this makes sense.
- Malika
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
-
Rel Canonical question
Hi: I got a report indication 17 rel canonical notices. What does this mean in simple language and how do i go about fixing things?
Technical SEO | | Shaaps0 -
Categories and rel canonical
Hello everyone, I have a doubt in how to approach this problem. I have a local business website, and i want to rank this website for our main KW. So the idea is to rank the main Keyword to the home page www.sitename.com At the same time we blog every week and one of the categories is the same has the main Keyword. It makes sense because the majority of the blog posts are about it. In a certain way the homepage and the category page are competing for the same keyword. How can i approach this problem? Should i use rel canonical in the category page, pointing to the homepage? Thanks for your help.
Technical SEO | | Barbio0 -
Canonical tags pointing at old URLs that have been 301'd
I have a site which has various white label sites with the same content on each. I have canonical tags on the white label sites pointing to the main site. I have changed some URLs on the main site and 301'd the previous URL to the new ones. Is it ok to have the canonicals pointing to the old URLs that now have a 301 redirect on them.
Technical SEO | | BeattieGroup0 -
Rel Canonical for Miva Merchant
Due to necessary pagination on the site that sells thousands of products, and due to products being assigned to more than one category in the Miva Merchant store, we have been battling duplicate content, and Meta tag issues. I asked lot of questions on the Miva forum on how to use rel canonical in Miva, and got this script below to use. It was supposed to solve all of our problems, but now it seems that every page of the site is under Rel Canonical Notices in the Crawl Diagnostics. I am not sure I am reading the Notices correctly, and if we achieved what we want or not. Here is an example of one listing: URL: http://www.domain.com/ABUS.html
Technical SEO | | 2CDevGroup
Tag Value: http://www.domain.com/
Page Authority: 28
Linking Root Domains: 1 | | | | |0 -
Shorter URLs
Hi Is there a real value in having the keywords in the URL structure? we could use the URL: Mybrand.com/software/tablets/ipad/supertrader.html Or instead have the CMS create the shorter version mybrand.com/supertrader.html and just optimize this page for the keyword 'supertrader ipad software'
Technical SEO | | FXDD1 -
Where to place your brandname in your URL?
Hello everybody! Quick and short question: What is better when you want to rank for your your brandname? www.jobsbrandname.com or www.brandnamejobs.com I think for SEO it's better to use the last one but marketing has the wish to use the first one. Thanks for your responce!
Technical SEO | | ltom0 -
Changing url structure
We are an ecommerce site established in 2005 and currently have some great rankings. We are about to move away from our existing platform, actinic and move on to Magento. This will change all our url's. What are the steps we should be asking our web developers to follow in order to minimize the consequences of moving? Thank you.
Technical SEO | | LadyApollo0 -
Using the Canonical Tag
Hi, I have an issue that can be solve with a canonical tag, but I am not sure yet, we are developing a page full of statistics, like this: www.url.com/stats/ But filled with hundreds of stats, so users can come and select only the stats they want to see and share with their friends, so it becomes like a new page with their slected stats: www.url.com/stats/?id=mystats The problems I see on this is: All pages will be have a part of the content from the main page 1) and many of them will be exactly the same, so: duplicate content. My idea was to add the canonical tag of "www.url.com/stats/" to all pages, similar as how Rand does it here: http://www.seomoz.org/blog/canonical-url-tag-the-most-important-advancement-in-seo-practices-since-sitemaps But I am not sure of this solution because the content is not exactly the same, page 2) will only have a part of the content that page 1) has, and in some cases just a very small part. Is the canonical tag useful in this case? Thank you!
Technical SEO | | andresgmontero0