Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Sizes and numbers in friendly urls - syntax
-
Ok, I'm trying to establish some business rules of syntax for SEO friendly URLS.
I'm doing this for an OpenCart online store which uses a SEO-url field to construct the "friendly URL's". The good news of that is I have total control over the urls' the bad news is I had to do some tricky Excel work to populate them.
That all said, I have a problem with items that have sizes. This is a crafts store so many of the items are differentiated by size. Examples:
Sleigh Bells, come in 1/2", 3/4", 1", 1 1/2" etc.
So far Ive tried to stay away from inch mark " by spelling it out. Right now its inch but could be in.
The numbers, fractions, sizes etc. create some ghastly friendly URL's. Is there any wisdom or syntax standards out there that would help me. I'm trying to avoid this:
www.mysite.com//index.php?route=craft-accessories/bells/sleigh-bells/sleigh-bells-1-one-half-inch-with-loop
I realize that the category (sleigh-bells) is repeated in the product name but there are several 1 1/2" items in the store.
Any thoughts would be useful, even if it's links to good SEO sites that have mastered the myriad of issues with dimensions in the urls.
thanks
-
I'll have to dig deeper than my local big-box retail store. This is a url from a random screw at Home Depot:
This product exhibits the issue. Product name, size (8 x 2 1/2), style (Phillips, Bugle Head), Thread (Coarse), Point (sharp), Coating etc.
-
This is a good question and harkens back to original data modeling. Each size item is a different sku. There are modules for OpenCart that will make a "series" record to mask via interface that they are all different records (think click on different color) but in our case they have different sku's, can be out of stock, can even have different prices. The nature of the crafts store is American Indian supplies. So just in seed beads there are five common sizes, up to 200 different colors per size and some of those can have faceted beads or non-faceted (we call them cuts). Add all that up and there are a ton of products that come in and out of stock etc.
That's it generally. My comment about sizes is that there are many many things across the materials (bells, silver broaches, etc.) that are chosen by the buyer by material (brass vs silver) but then by size (1", 1.5" etc.) The size is a key component so since each one is a different "product record" it will naturally have its own URL. All these inches, millimeters, fractions and odd sizes (thread come D, O, OO, YO etc.) it's enough to make one bonkers. I have an SEO url for each product and am looking for input from others thougths before I go medieval on shortening them.
Hope that answers your question.
-
Some very powerful resources shared by Patrick as always but while I was reading the question several ideas were popping up in my mind.
You are saying you have several different products that are in different sizes. If this is the case, why not you make it one product and in the product section offer the size in the dropdown? #justwondering
In my opinion the best URL structure for you would be domain.com/category/product-name.php
Once you decide what URL structure you will follow, do go through the instruction given by Patrick so that there should be no technical problem with regards to indexing and ranking.
Hope this helps!
-
Hi John
Okay cool - keep me posted - want to make sure you get to here you need to be! Good luck!
-
Thanks. I've read many of these but will do so again looking for details on the technical data in the URL. It strikes me that hardware stores (Home Depot and Lowes) must have this issue with screws etc. Will go there too.
-
Hi John
Take a look at the following resources:
URL Best Practices (Moz)
15 SEO Best Practices for Structuring URLs (Moz)
SEO Cheat Sheet: Anatomy of A URL (Moz)
SEO Optimal Ecommerce URLs (PracticalEcommerce)
Information Architecture for SEO - Whiteboard Friday (Moz)
Canonicalization (Moz - in case aliases or parameters appear)Don't forget to update your sitemap, upload it to Google and Bing Webmaster Tools, and also check your internal links so they are up to date.
There is a lot here, but these resources should help you get started on structuring your website and also your URLs in a logical and user friendly fashion. Let me know if you need anymore help! Good luck!
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
-
Duplicate, submitted URL not selected as canonical
Hi all, A number of our pages have dropped out of search rankings. It seems they are being marked as "Duplicate, submitted URL not selected as canonical" However, the page Google is choosing as the canonical is totally different - different headings, titles, metadata, content on the page. We are completely mystified as to why this is happening. If anyone can shed any light, it would be hugely appreciated! Example URL is this one:
Technical SEO | | Eric_S
https://www.vouchedfor.co.uk/IFA-financial-advisor-mortgage/london Which Google seems to think is a duplicate of this: https://www.vouchedfor.co.uk/solicitor/london0 -
301 redirect syntax for htaccess
I'm working on some htaccess redirects for a few stray pages and have come across a few different varieties of 301s that are confusing me a bit....Most sources suggest: Redirect 301 /pageA.html http://www.site.com/pageB.html or using some combination of: RewriteRule + RewriteCond + RegEx I've also found examples of: RedirectPermanent /pageA.html http://www.site.com/pageB.html I'm confused because our current htaccess file has quite a few (working) redirects that look like this: Redirect permanent /pageA.html http://www.site.com/pageB.html This syntax seems to work, but I'm yet to find another Redirect permanent in the wild, only examples of Redirect 301 or RedirectPermanent Is there any difference between these? Would I benefit at all from replacing Redirect permanent with Redirect 301?
Technical SEO | | SamKlep1 -
Robots.txt Syntax for Dynamic URLs
I want to Disallow certain dynamic pages in robots.txt and am unsure of the proper syntax. The pages I want to disallow all include the string ?Page= Which is the proper syntax?
Technical SEO | | btreloar
Disallow: ?Page=
Disallow: ?Page=*
Disallow: ?Page=
Or something else?0 -
Vanity URLs are being indexed in Google
We are currently using vanity URLs to track offline marketing, the vanity URL is structured as www.clientdomain.com/publication, this URL then is 302 redirected to the actual URL on the website not a custom landing page. The resulting redirected URL looks like: www.clientdomain.com/xyzpage?utm_source=print&utm_medium=print&utm_campaign=printcampaign. We have started to notice that some of the vanity URLs are being indexed in Google search. To prevent this from happening should we be using a 301 redirect instead of a 302 and will the Google index ignore the utm parameters in the URL that is being 301 redirect to? If not, any suggestions on how to handle? Thanks,
Technical SEO | | seogirl221 -
Is there a maximum sitemap size?
Hi all, Over the last month we've included all images, videos, etc. into our sitemap and now its loading time is rather high. (http://www.troteclaser.com/sitemap.xml) Is there any maximum sitemap size that is recommended from Google?
Technical SEO | | Troteclaser0 -
Special characters in URL
Will registered trademark symbol within a URL be bad? I know some special characters are unsafe (#, >, etc.) but can not find anything that mentions registered trademark. Thanks!
Technical SEO | | bonnierSEO0 -
Landing Page URL Structure
We are finally setting up landing pages to support our PPC campaigns. There has been some debate internally about the URL structure. Originally we were planning on URL's like: domain.com /california /florida /ny I would prefer to have the URL's for each state inside a "state" folder like: domain.com /state /california /florida /ny I like having the folders and pages for each state under a parent folder to keep the root folder as clean as possible. Having a folder or file for each state in the root will be very messy. Before you scream URL rewriting :-). Our current site is still running under Classic ASP which doesn't support URL rewriting. We have tried to use HeliconTech's ISAPI rewrite module for IIS but had to remove it because of too many configuration issues. Next year when our coding to MVC is complete we will use URL rewriting. So the question for now: Is there any advantage or disadvantage to one URL structure over the other?
Technical SEO | | briankb0 -
Products with discrete URLs for each color
here is the issue. i have an ecommerce site that on a category page, shows each individual color for each product sold. and there is a distinct URL for each color. each product page shares the same content, with the only potentially differentiating factor being customer reviews (not nearly enough of these to differentiate anything). so we have URLs like: www.domain.com/product-green www.domain.com/product-yellow www.domain.com/product-red and so on. i am looking for a way to consolidate these URL while still showing all colors on the category page. the first solution i am considering is using the hash tag. so we would create www.domain.com/product#green, www.domain.com/product#yellow, www.domain.com/product#red. if possible, i would set the canonical tag as www.domain.com/product. the second solution would be to use the canonical tag and keep the URLs as is. the issue i see here is that we would need to create www.domain.com/product and show that page somewhere. www.domain.com/product would the URL that the above color URLs would canonicalize to. what would be the preferred solution? or is there something else?
Technical SEO | | rakesh_patel0