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
-
Changing Url structure to incorporate Woo Commerce
Advise needed please We have rankings coming along nicely with a website that uses page content but we now need to start online shopping with woo commerce The url structure has always been a bit of a mess, but its quite in depth We are looking to move small paragraphs about each product cat (formerly put on Pages) information into the Product Category and then the Product information into the product page and redirect the old urls to the new urls. It would mean updating the permalinks also - My concern if there is less leverage with product categories - do these rank just as well as pages, are we going to see our rankings change dramatically in doing so? Added to that - is it best doing this change gradually or all at once (like staging site to get the set up ready) and then pushing live
On-Page Optimization | | KellyDSD860 -
URL SEO: Better directory structure vs. exact keyword phrase
I am trying to understand how to best optimise a url for a page to rank high for specific keywords. Example: a top keyword search is "rental properties in new york". Question is does this keyword need to appear as this exact phrase in the url or should it be broken up into different directories for a better structure e.g.: www.abc.com/en/properties/new-york/rental OR www.abc.com/en/rental-properties-in-new-york Which will help the page rank higher (given all other things on the page are exactly the same)? Thanks!
On-Page Optimization | | MH190 -
Does a URL forward slash break up an exact match phrase?
I've seen some organisations implementing keyword phrases per URL with forward slashes in-between the keywords. Would this still work for broad AND exact match keywords when the search engine references the URL? Here's an example with the keyword being "scuola di lingue tedesco". http://www.esl.ch/it/adulti/scuola-di-lingue/tedesco/index.htm Thanks in advance.
On-Page Optimization | | featherseo0 -
Directory site with an URL structure dilemma
Hello, We run a site, which lists local businesses and tag them by their nature of business (similar to Yelp). Our problem is, that our category and sub-category(i.e.: www.example.com/budapest/restaurant or www.example.com/budapest/cars/spare-parts) pages are extremely weak, and get almost no traffic, but most of the traffic (95+ percent) goes for the actual business pages. While this might be a completely normal thing, I still would like to strengthen our category (listing) pages as well, as these should be the ones targeted by some of general keywords, like ‘restaurant’ or ‘restaurant+budapest’. One of the issues I have identified as a possible problem, that we do not have a clear hierarchy within the site, so while the main category pages are linked from the homepage (and the sub-categories from here), there is no bottom-up linking from the business pages back to the category pages, as the business page URLs look like this: www.example.com/business/onyx-restaurant-budapest. I think, that the good site- and url structure for the above would be like this: www.example.com/budapest/restaurant/hungarian/onyx-restaurant. My only issue is, perhaps not with the restaurants but with others, that some of the businesses have multiple tags, so they can be tagged i.e. as car saloon, auto repair and spare parts at the same time. Sometimes, they even have 5+ tags on them. My idea is, that I will try to identify a primary tag for all the businesses (we maintain 99 percent of them right now), and the rest of their tags would be secondary ones. I would then use canonicalization and mark the page with the primary tag in the url as the preferred one for that specific content. With this scenario, I might have several URLs with the same content (complete duplicates), but they would point to one page only as the preferred one, while our visitors could still reach the businesses in any preferred ways, so either by looking for car saloons, auto-repair or spare parts. This way, we could also have breadcrumbs on all the pages, which now we miss completely. Can this be a feasible scenario? Might it have a side-effect? Any hints on how to do it a better way? Many thanks, Andras
On-Page Optimization | | Dilbak0 -
How to deal with tracking numbers in URLs
I am working on a site at the minute that has links like this: Jobs in London URL looks like: domain.com/jobs-in-london/ However, my developers insist that they need to use tracking codes, so everytime someone clicks on the above link, they are redirected (301) to a new URL that looks like: domain.com/search/1234567(unique search id) This is killing me when I am trying to get internal pages, like /jobs-in-london/ ranked. What to do?
On-Page Optimization | | MirandaP0 -
How many urls per page is to many
I know it used to be 100 urls per page, but recently Matt cutts has said that they can count a lot more now. I was wonder what you guys thought was how many was to many per page?
On-Page Optimization | | Gordian0 -
2 URLs, same content, 1 with keywords. Does this hurt me?
I'm in the process of adding some new features to our site and have a question about our URLs. Most of our URLs consist of either sitename.com/contentname or sitename.com/content/contentid I'm in the process of building a directory to those pages. The directory has a number of filters which will ultimately point to the destination page. sitename.com/filter1/filter2/contentid or sitename.com/filter1/filter2/contentname The destinations will have references. From an SEO perspective, I would think I want the filter1/filter2 version of the link indexed since this will add keywords that someone might search for. However, since the filters are dynamic, if someone just searches for contentname I would want to have sitename.com/contentname returned in the search results. Do I get any SEO benefit out of building those filter links as described if they are not the canonical links?
On-Page Optimization | | JoeCotellese810 -
Why isn't SEOMoz using File Extensions (*.html etc) on any of their web page URLs?
...and what is the SEO benefit of this? This video from Matt Cutts suggests using file extentions, except for a directory.
On-Page Optimization | | magicrob0