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
-
Same URL for languages sub-directories
Hi All, I have a main domain and 9 different subdirectories for languages, example: www.example.com/page.html www.example.com/uk/page-uk.html www.example.com/es/page-es.html we are implementing hreflang tags for the languages, but we are thinking to get rid of the dashes on the languages URL: -uk or -es, so it will be: www.example.com/page.html www.example.com/uk/page.html www.example.com/es/page.hrml would this be a problem? to have same page names even if they are in different subdirectories? would we need to add canonical tags, at lease for the main domain URLs? www.kornferry.com/page.html Thank you, Rachel
Technical SEO | | RaquelSaiz0 -
Size of image for article Schema
Hi, I implemented schema markup for an article and all tested fine and I can see it being fired in preview mode of Google Tag Manager. But when I run the URL which has it applied through Google Structured Testing tool it is not appearing. I have now read that the image needs to be a certain size. For AMP articles this appears to be 12oo pixels wide http://www.thesempost.com/google-changes-image-size-requirements-amp-articles/ But what about non-AMP articles? Does it need to be that big too?
Technical SEO | | AL123al0 -
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 -
Backlinks that go to a redirected URL
Hey guys, just wondering, my client has 3 websites, 2 of 3 will be closed down and the domains will be permanently redirected to the 1 primary domain - however they have some high quality backlinks pointing the domains that will be redirected. How does this effective SEO? Domain One (primary - getting redesign and rebuilt) - not many backlinks
Technical SEO | | thinkLukeSEO
Domain Two (will redirect to Domain One) - has quality backlinks
Domain Three (will redirect to Domain One) - has quality backlinks When the new website is launched on Domain One I will contact the backlink providers and request they update their URL - i assume that would be the best.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 -
How do I deindex url parameters
Google indexed a bunch of our URL parameters. I'm worried about duplicate content. I used the URL parameter tool in webmaster to set it so future parameters don't get indexed. What can I do to remove the ones that have already been indexed? For example, Site.com/products and site.com/products?campaign=email have both been indexed as separate pages even though they are the same page. If I use a no index I'm worried about de indexing the product page. What can I do to just deindexed the URL parameter version? Thank you!
Technical SEO | | BT20090 -
Ok to Put a Decimal in a URL?
I'm in the process of creating new product specific URLs for my company. Some of our products have decimals in them for their names as a unit of measurement. For example - .The URL for a 050" widget would be something like: http://www.example.com/product/category/.050-inch-widget My question is - Can I use a decimal in the URL without ticking off the search engines, and/or causing any other unexpected effects?
Technical SEO | | CodyWheeler0 -
Someone is redirecting their url to mine
Hello, I have just discovered that a company in Poland www.realpilot.pl is directing their domain to ours www.transair.co.uk. We have not authorised this, neither do we want this. I have contacted the company and the webmaster to get it removed. If you search for the domain name www.realpilot.pl we (www.transair.co.uk) come up top. My biggest worry is that we will get penalised by Google for this re-direct as it appears to be done using some kind of frame. Does anyone know anything about this kind of thing? Many Thanks Rob Martin
Technical SEO | | brightonseorob0