Is it a problem if a URL has too many backslashes in its address?
-
The ecommerce platform of the site that I am working on generates URLs that contain ID Codes for each different product category, color variations, styles, etc.
An example of a URL for a specific product includes:
www.example.com/women/denim-jeans/py/c/109/np/108/p/3834.html
Is it a problem for search engine crawlers if the URL address has so many backslashes in its address?
Appreciate your feedback.
-
Thank you for all of your feedback.
Unfortunately, this website is a on a old propitiatory platform that requires to have these long URL strings, but thankfully there are no separate pages for each of the backslash categories.
For now, I have to accept having these long URLs and just make sure all the correct pages are submitted in sitemap.
Thank you again for you all of your feedback. This was very helpful!
-
To be clear, what type of cart system does the site use? VirtueMart? Magento?
I agree with the posts above, in that sometimes it doesn't hurt, but at the same time, you aren't doing the product pages any favors. Two ways to look at this would be:
1. Having the URL structure set up like you example will still get the pages indexed, if they are included in a sitemap, and submitted correctly, furthermore if the content on those pages is a good match.
2. Having the pages set up that way will limit the ranking potential of those pages, by having a long URL, without relevant keywords in place. Let me explain:
In your example:
www.example.com/women/denim-jeans/py/c/109/np/108/p/3834.htmlYou have the opportunity to potentially rank for "womens denim jeans" using that url. This somewhat limits the ranking potential of the items, as they are all tied into one specific category, that being "womens denim jeans". Lets look at another example:
www.example.com/women/denim-jeans/faded-wash/indigo-dye-item-details3834.html
In the above URL, you are much more specific in the style and type of jean it is, and a user will know (and a search engine) what the page is specifically about. Style, color, keyword, category, etc. Since you most likely have a large catalog of product types, why limit your item details to a bunch of unnecessary numbers and slashes?
I would also look at a way of using product markup to make the items stand out further in search results. Google likes to see "the complete package". Using clean specific URL's and schema product markup tells a much clearer pricture than /py/c/109/np/108/p/3834.html. Depending on the CMS used, there may be a component or plugin that takes care of the product markup for you, from the item description and details.
Hope this helps!
-
Hi there,
Ryan is correct - high numbers of subfolders like this aren't ideal. That takes into account real and virtual subfolders (i.e. "subfolders" that have no content on them but are generated by a CMS versus subfolders that contain landing pages).
Ideally, these would be rewritten to www.example.com/women/denim/product1.html, etc. You will need to check with the developers why the CMS creates these subfolders and what can be done about it.
Google is much better at indexing / ranking URLs like this than it was a few years ago, and it's not exactly a deathblow if you're told that this can't be changed. It's still not ideal though, so check whether it can be simplified.
-
I would want to have as few as possible. You have to ask yourself whether or not all those folders are actually needed. As far as indexing, it's more about the hops than the number of backslashes. For instance if a crawler has to go to /denim-jeans then to /py then /c then /c109 then /np then /108 then /p then /3834.html it will likely have some indexing issues, but if the next hop after /denim-jeans is from a link that goes to /py/c/109/np/108/p/3834.html then it likely wouldn't cause any issues for the crawler, but again it's a nasty structure and you have to ask yourself if it is all really necessary.
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
-
Change of Address in Google Search Console
I have merged domains before and it went rather smoothly following the Moz Guide - https://moz.com/blog/save-your-website-with-redirects . I've got a new challenge ahead of me though in that a client is buying the blog subdirectory associated with another domain. So it's the blog only, not the complete domain therefore a change of address for a site section doesn't exist. I believe the course of action will be the same except we'll just skip the change of address step since the original owner wants to maintain the TLD. Part of the contract is that we'll get the content which will be ported over to our domain and he'll maintain the 301's as requested and into perpetuity. Our domain is not brand new and has some credible links. Anyone encounter a transition of a partial domain before? Thanks for your help/suggestions.
Intermediate & Advanced SEO | | seoaustin0 -
Should I include URLs that are 301'd or only include 200 status URLs in my sitemap.xml?
I'm not sure if I should be including old URLs (content) that are being redirected (301) to new URLs (content) in my sitemap.xml. Does anyone know if it is best to include or leave out 301ed URLs in a xml sitemap?
Intermediate & Advanced SEO | | Jonathan.Smith0 -
Replicating keywords in the URL - bad?
Our site URL structure used to be (example site) frogsforsale.com/cute-frogs-for-sale/blue-frogs wherefrogsforsale.com/cute-frogs-for-sale/ was in front of every URL on the site. We changed it by removing the for-sale part of the URL to be frogsforsale.com/cute-frogs/blue-frogs. Would that have hurt our rankings and traffic by removing the for-sale? Or was having for-sale in the URL twice (once in domain, again in URL) hurting our site? The business wants to change the URLs again to put for-sale back in, but in a new spot such as frogsforsale.com/cute-frogs/blue-frogs-for-sale as they are convinced that is the cause of the rankings and traffic drop. However the entire site was redesigned at the same time, the site architecture is very different, so it is very hard to say whether the traffic drop is due to this or not.
Intermediate & Advanced SEO | | CFSSEO0 -
Double hyphen in URL - bad?
Instead of a URL such as domain.com/double-dash/ programming wants to use domain.com/double--dash/ for some reason that makes things easier for them. Would a double dash in the URL have a negative effect on the page ranking?
Intermediate & Advanced SEO | | CFSSEO0 -
Is it a problem that Google's index shows paginated page urls, even with canonical tags in place?
Since Google shows more pages indexed than makes sense, I used Google's API and some other means to get everything Google has in its index for a site I'm working on. The results bring up a couple of oddities. It shows a lot of urls to the same page, but with different tracking code.The url with tracking code always follows a question mark and could look like: http://www.MozExampleURL.com?tracking-example http://www.MozExampleURL.com?another-tracking-examle http://www.MozExampleURL.com?tracking-example-3 etc So, the only thing that distinguishes one url from the next is a tracking url. On these pages, canonical tags are in place as: <link rel="canonical<a class="attribute-value">l</a>" href="http://www.MozExampleURL.com" /> So, why does the index have urls that are only different in terms of tracking urls? I would think it would ignore everything, starting with the question mark. The index also shows paginated pages. I would think it should show the one canonical url and leave it at that. Is this a problem about which something should be done? Best... Darcy
Intermediate & Advanced SEO | | 945010 -
Correct URL Parameters for GWT?
Hi, I am just double checking to see if these parameters are ok - I have added an attachment to this post. We are using an e-commerce store and dealing with faceted navigation so I excluded a lot of parameters from being crawled as I didnt want them indexed. (they got indexed anyway!). Advice and recommendations on the use of GWT would be very helpful - please check my screenshot. thanks, B0gSmRu
Intermediate & Advanced SEO | | bjs20100 -
Canonical URLs and Sitemaps
We are using canonical link tags for product pages in a scenario where the URLs on the site contain category names, and the canonical URL points to a URL which does not contain the category names. So, the product page on the site is like www.example.com/clothes/skirts/skater-skirt-12345, and also like www.example.com/sale/clearance/skater-skirt-12345 in another category. And on both of these pages, the canonical link tag references a 3rd URL like www.example.com/skater-skirt-12345. This 3rd URL, used in the canonical link tag is a valid page, and displays the same content as the other two versions, but there are no actual links to this generic version anywhere on the site (nor external). Questions: 1. Does the generic URL referenced in the canonical link also need to be included as on-page links somewhere in the crawled navigation of the site, or is it okay to be just a valid URL not linked anywhere except for the canonical tags? 2. In our sitemap, is it okay to reference the non-canonical URLs, or does the sitemap have to reference only the canonical URL? In our case, the sitemap points to yet a 3rd variation of the URL, like www.example.com/product.jsp?productID=12345. This page retrieves the same content as the others, and includes a canonical link tag back to www.example.com/skater-skirt-12345. Is this a valid approach, or should we revise the sitemap to point to either the category-specific links or the canonical links?
Intermediate & Advanced SEO | | 379seo0 -
Should I Use City Name in URL?
Having a website designed for a car dealership and deciding what attributes to use in the URL. Should I include the city name in the URL? Or does that help for SEO purposes? Other ideas of what to research or try are appreciated too. Thanks 🙂
Intermediate & Advanced SEO | | kylesuss0