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
-
Is a canonical tag required for already redirecting URLs?
Hi everyone, One of our websites was changed to non-www to www. The non-www pages were then redirected to avoid duplicate issue. Moz and Screaming Frog flagged a number of these redirected pages as missing canonical tags. Is the canonical tag still required for pages already redirecting? Or is it detecting another possible duplicate page that we haven't redirected yet? Also, the rankings for this website isn't improving despite having us optimising these pages as best as we could. I'm wondering if this canonical tag issue may be affecting it. Thank you.
Technical SEO | | nhhernandez0 -
Some URLs in the sitemap not indexed
Our company site has hundreds of thousands of pages. Yet no matter how big or small the total page count, I have found that the "URLs Indexed" in GWMT has never matched "URLS in Sitemap". When we were small and now that we have a LOT more pages, there is always a discrepancy of ~10% or so missing from the index. It's difficult to know which pages are not indexed, but I have found some that I can verify are in the Sitemap.xml file but not at all in the index. When I go to GWMT I can "Fetch and Render" missing pages fine - it's not as though it's blocked or inaccessible. Any ideas on why this is? Is this type of discrepancy typical?
Technical SEO | | Mase0 -
Parked former company's url on top of my existing url and that URL is showing in SERPs for my top keywords
I have the URL from my former company parked on top of my existing URL. My top keywords are showing up with the old URL attached to the metadsecription of my existing URL. It was supposed to be 301 redirected instead of parked but my web developer insists this was the right way to do it and it will work itself out after google indexes the old URL out of existence. Are there any other options?
Technical SEO | | Joelabarre0 -
Canonicals being ignored
Hi, I've got a site that I'm working with that has 2 ways of viewing the same page - a property details page. Basically one version if the long version: /property/Edinburgh/Southside-Newington/6CN99V and the other just the short version with the code only on the end: /6cn99v There is a canonical in place from the short version to the long version, and the sitemap.xml only lists the long version HOWEVER - Google is indexing the short version in the majority of cases (not all but the majority). http://www.website.com/property/Edinburgh/Southside-Newington/6CN99V"> Obviously "www.website.com" contains the URL of the site itself. Any thoughts?
Technical SEO | | squarecat.ben0 -
What is the best practice to seperate different locations and languages in an URL? At the moment the URL is www.abc.com/ch/de. Is there a better way to structure the URL from an SEO perspective?
I am looking for a solution for using a new URL structure without using www.abc.com**/ch/de** in the URL to deliver the right languages in specific countries where more than one language are spoken commonly. I am looking forward to your ideas!
Technical SEO | | eviom0 -
What do we do now?
OK where do we start? Lets go back to June 2011So in June 2011 we left an SEO company that was looking after our account, after a year of being with them and not moving 1 place in the SERPS we decided to cut ties with them and move to a new SEO company... Over the first 6 months things seemed to be going well, for our main keyword "car warranty" we started to climb up the rankings from #6 - #4 - #2, we also moved up for other keywords. One thing that I did notice when we were with the new SEO Company not much on-site optimisation was completed.Move forward to January 2012So over the Christmas period the usual happened, our rankings stayed the same put traffic dropped which is obviously normal for this specific time of year... But on the 7th of Jan 2012 our rankings dropped from #2 - #10, we contacted the SEO company in question and they reported back that a server that had 20links pointing back to our server had crashed on Christmas Day and the links had been de-indexed from Google, they said give it 2 - 3 weeks and the links will be re-indexed and we should pop back up on google.3 Weeks later we were still in the exactly the same position, the good thing was because we run a very good Adwords campaign the traffic to our site didn't drop.The SEO company then came back and said it looks like we have been placed in a 60day filter by Google and once the 60day filter had been reached we should pop back up - 65days came and went and we were still in the exact same position. After us waiting around for months to see if the rankings improved we decided to leave the SEO company and move all our SEO work back in-house.Move forward to February 2012Once we had full control over the account again we made some changes to the on-site optimisation of the site, we improved page titles, descriptions, tags and also our content was re-written - we then waited for Google to pickup the changes and re-index our site. YesterdaySo yesterday we checked our rankings - some of our longer tail keywords had improved but our main big traffic keywords had dropped even further - we had gone from #10 to #16, with the update to the algorithm yesterday targeting spammy websites we feared that we had been hit by the new update. We then cleaned up some links that looked spammy and asked for a reconsideration request. Now looking deeper into our backlinks we still have some spammy non-relevant links as well as a few big sitewide links - 1 sitewide link provides 732,667 links to our homepage and our total links indexed by Google is only 759,144.What do you think we should do...Wait for Google to come back to us after the reconsideration request?Remove more and backlinks?Build more high value links?If anyone can provide me with more information it would be great.Thanks,
Technical SEO | | ScottBaxterWW
Scott0 -
ECommerce Site, URL's, Canonical and Tracking Referral Traffic
I'm very, very new to eCommerce websites that employ many different URL's to track referral traffic. I have a client that has 18 different URL's that land on the Home Page in order to track traffic from different referral sources. For example: http://erasedisease.com/?ref=abot - Tracks traffic from an affiliate source http://erasedisease.com/?ref=FB01 - Tracks traffic from a FB Ad http://erasedisease.com/?ref=sas&SSAID=289169 - Tracks more affiliate traffic ...and the list goes on and on. My first question is do you think this could hinder our Google rankings? SEOMoz Crawl doesn't show any Duplicate Content Errors, so I guess that's good. I've just been reading a lot about Canonical Url's and eCommerce sites, but I'm not sure if this is a situation where I'd want to use some kind of canonical plugin for this Wordpress website or not. Any advice would be greatly appreciated. Thanks so much!!
Technical SEO | | Linwright0 -
Are Google now indexing iFrames?
A client is pulling content through an iFrame, and when searching for a snippet of that exact content the page that is pulling the data is being indexed and not the iFrame page. Seen this before?
Technical SEO | | White.net0