All Caps in URL
-
Hello, we're working with a corporate client to make changes to their URL structure. We recommended that they use a structure like "domain.com/state/city/location". Their IT department is on board, but they just mentioned that all of the state and city info will be pulled from a database where it is all caps.
So it would be like this "domain.com/STATE/CITY/location"
I'm concerned that it may be spammy, but I can't find any definitive information online. We usually like to test issues like this on our own sites before advising clients, but we're working up against a quick deadline.
Any help with this issue would be great, especially real world experience, not just theories. Thank you.
-
Thanks for the quick replies guys!
-
Its no Spammy, but in the long term, people will link to you using the lowercase URLs and u may risk a duplicate content issue.
If you have full access to Apache configuration,
RewriteEngine On RewriteMap lc int:tolower RewriteCond %{REQUEST_URI} [A-Z] RewriteRule (.*) ${lc:$1} [R=301,L]
(you need to define RewriteMap in HTTPD config so you can call it out from htaccess)
-
Thanks Damien, that's a good technical solution. Unfortunately, we don't control the site and in order to recommend a technical change, I would need some rationale as to why an upper case URL is not good from an SEO standpoint (I can think of a few non-seo reasons they should not do this). Any ideas on that?
-
You can use a rewrite rule to change all the upper case letters to lower case. This should solve your problem before they are indexed and will do away with the need to 301 every upper case URL to a lower case one.
DD
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 it OK to 301 redirect 1000s of duplicate random URLs to homepag?
Hello, We found a critical error in our site internal link structure and the way Google indexes it. Website has 1000s of URLs that are basically 50% match to homepage. They all start the same example.com/category/random/random I can do a redirect match and 301 them to homepage. This way 1000s of bogus url are not indexed and no value given. Is it OK to redirect so many URLs to homepage? Platform is creating these URLs because of search query, where it adds all site content to one page. Currently this search page /category / has own canonical and all those duplicate content URLs have canonical to that /category /. To fix my plan is to a. Remove canonical from /category / that way all those duplicate URLs don't have it either. B. Redirect match all URLs that have /category / in them to homepage. (this is most important page where 50% of that content is and should be the main page). Is this plan ok?
On-Page Optimization | | advertisingcloud1 -
Hi - How do you get rid of duplicate content that was accidentally created on a tag url? For example, when I published a new article, the content was duplicated on: /posts/tag/lead-generation/
the original article was created with: /posts/shippers-looking-for-freight-brokers/ How can I fix this so a new URL is not created every time I add a tag to a new posting?
On-Page Optimization | | treetopgrowthstrategy0 -
How do I create multiple page URLs that are optimized for location and keywords that may be overlapping or the same?
Hi guys, I am attempting to create unique URLs for several different pages on a website. Let's say hypothetically that this is a website for a chain of Ice Cream Shops in Missouri. Let's say they have 15 locations in Springfield, Missouri. I would ideally like to optimize our Ice Cream Shop's in Springfield, Missouri with the main keyword (ice cream) but also the geo-specific location (Springfield), but we obviously can't have duplicate URLs for these 15 locations. We also have several secondary keywords, think things like: frozen yogurt or waffle cone that we can also use, although it would most likely be more powerful if we use the primary keyword. Any suggestions for how to go about doing this most effectively? Thanks!
On-Page Optimization | | GreenStone0 -
URL for a new website
Hi, I am creating a new website for a client. Is it best to include the keywords from the most common search in the domain name, they would like: forenamesurname.com but should I be recommending: weddingmakeupbyforename.com Does it make much difference to search rankings if the keyword is in the domain name? Thanks v much
On-Page Optimization | | danieldunn100 -
Rel="canonical" link should they be to or from an "SEO friendly" url
Thanks for taking the time to review this. So for our example, lets use the following SEO friendly link: http://hiu.calibermediagroup.com/undergraduate-on-campus/academics/colleges/pacific-christian-college-of-ministry-and-biblical-studies/BA-biblical-studies We'll call this link the SEO VERSION The title of the college is" Pacific Christian College of Minstry and Biblical Studies" The title of the program is "BA Biblical Studies" The QUERY version of the link to this page would be something like: http://hiu.calibermediagroup.com/undergraduate-on-campus/academics/colleges/index.php?collegeid=22&programid=34 Keep in mind that the meta title, description, and keyword tags for the page are all administerable The SEO VERSION is automatically created from the title of the college, and the title of the program. Each one of these titles can be overidden with a URL slug individually. For instance, the admin could make the link: http://hiu.calibermediagroup.com/undergraduate-on-campus/academics/colleges/pacific-christian-college-of-ministry/biblical-studies by changing the slug for the college to "pacific-christian-college-of-ministry" and the slug for the program to "biblical-studies". Let's call this version the SLUG VERSION So now we have multiple ways to get to the same content. The question on the table is what is best practice for the rel="canonical" link to keep from getting dinged for duplicate content. Let's say that our SEO VERSION is the canonical link for 1 year. Then the choice was made to optimize the links thru the slugs creating the SLUG VERSION. My assumption is that we would keep the SEO VERSION as the canonical link. But then let's say 6 months later that the title of the program is changed in the admin. Now the SEO VERSION has changed and so has the canonical link. Do we lose the link juice garnered over the last 18 months? It would seem to me, that if we use the QUERY version as the canonical link, then any optimizations or changes affect everything except the canonical link, thus keeping the previous link juice earned. But is having an ugly URL as the canonical link detrimental to SEO? Please advise.
On-Page Optimization | | robertdonnell0 -
Tag-URLs in Magento
Hello, I have got a problem concerning Tag-URLs in Magento (the URLs mentioned are just fictitious 😞 At the moment, they look something like this: (1) http://store.com/tag/product/list/tagId/1/ ... so these URLs are not search engine friendly at all. Using a Magento extension you could transform them in speaking URLs: (2) http://store.com/tag/digital-cameras What would you do if you sold, say, digital cameras and your online shop ranked high for the keyword "digital camera" with URL No. 1 (not search engine friendly). Would you transform (1) in (2) and 301 all non speaking URLs? But would you keep the high ranking for "digital camera" when 301 to URL No. (2). But, what I'm most concerned of is : There is actually a landing page (category page) for the keyword "digital camera" : http://store.com/digital-cameras. Shouldn't the last URL rank high for "digital camera"? (instead of the tag URLs). But given the situation above, does it make sense now to 301 the tag URL to the category page? I would perhaps lose my good ranking, wouldn't I? Thanks a lot for your help! Martin
On-Page Optimization | | SmartyMarty810 -
URL and SEO
How much weight do search engines give the URL? We're a medical call center provider and medicalcallcenter is part of our URL. Does that help us much? Thanks!!
On-Page Optimization | | THMCC0 -
Best URL Structure For Products That Are The Same
I know that the url structure is very important for seo preferably using the keyword. But is it okay to have the same url with the product number at the end ? Each of our products have a name with a product number. Or will this cause to many similar urls? or if the folder is the name of the product that needs to be optimized, can the page just be called the product number? Example: Say you have a 20 different product lines and they are all catagorized in the appropriate folders, and need to be optimized for the actual product name. XXX (folder name ) WWW-PR-123 WWW-PR-1234 WWW-PR-12345 WWW-PR-123456 what would be the best url structure? Can they have the same begining? The product name? something like: www.example.com/xxx/www-pr-123.php www.example.com/xxx/www-pr-1234.php or www.example.com/xxx/pr-123.php www.example.com/xxx/pr-1234.php
On-Page Optimization | | hfranz0