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
-
Usage of keywords in URL
Hi everyone, I'm trying to optimize our website and I'm not sure what's ideal for our URL structure. We have two products: one of them is focused on B2C & the other one on B2B.
Technical SEO | | Klouwers
Our homepage is focused on the B2C product. For our B2B product, I'm not sure what's ideal. The URL for our 'homepage' of the B2B product is ourdomain.com/software. We have different target groups for our B2B software, and therefore different pages on our website. Which URL would be best to use for the keyword personal trainer software?
1. ourdomain.com/software/personal-trainer-software
2. ourdomain.com/software/personal-trainer0 -
Making URLs automatically clickable
Hi all, I have a PHP function which i use to make all links clickable. Problem is, if some one writes a link in a a-tag, the URL inside the href value is made clickable. Not good. Can someone perhaps help me with the issue? Function: function makeClickableLinks($text)
Technical SEO | | rasmusbang
{
$text = preg_replace('/<//', ' $text = preg_replace('(
)', '
', $text);
$text = preg_replace('!((https?://www.|https?://|www.)(([a-z0-9-]+.)+[a-z]{2,6})(/\S+|/)*)!ie', '"[".shortenurl("\1")."]("".(strtolower('$2'))"', $text);
$text = str_replace('( <a href',="" '<a="" $text);<br="">$text = str_replace(')" target', '" target', $text);
$text = str_replace('):" target', '" target', $text);
$text = str_replace(')..." target', '" target', $text);
$text = str_replace(').." target', '" target', $text);
$text = str_replace(')." target', '" target', $text);
return $text;
}</a> <a href',="" '<a="" $text);<br="">Pleeeeease heeelp 🙂 Can't fix it on my own - been at it for ages. -Rasmus</a>0 -
I need help to define which is the best friendly url structure
Hi, I need some help to define which is the best friendly url structure for my new project, I'm in doubt for some cases, anyone could help me define which would be the best way? domain.com/buy-online/0-1,this-cool-model or
Technical SEO | | LeonardoLima
domain.com/buy-online/this-cool-model,0-1 or
domain.com/buy-online/0-1/this-cool-model or
domain.com/buy-online/this-cool-model/0-1 or
domain.com/buy-online/this-cool-model_0-1 or
domain.com/buy-online/this-cool-model?Model=0&OtherParam=1 Thanks! Best Regards,
Leonardo Lima0 -
301 Redirecting weird URLs with % in them
I've been working on redirecting links reported as 404 in Google webmaster tools. I've stumbled upon 41 URLs that Google is reporting as 404 that include a '%' in the URL, but I don't know how to redirect. Here is an example: URL: bond_information.htm%20Surety%20Bond%20Information,%20with%20FAQ Attempted redirect: redirect 301 /bond_information.htm%20Surety%20Bond%20Information,%20with%20FAQ http://www.mysite.com/ Unfortunately, after implementing the redirect, http://www.mysite.com/bond_information.htm%20Surety%20Bond%20Information,%20with%20FAQ still resolves a 404 error. Anyone successfully fix these errors using Apache .htaccess?
Technical SEO | | TheDude0 -
Importance of SEO Friendly URLs
Hey SEOZ! How important do you all think SEO friendly URLs are to SEO. Here is an example: Non: http://www.domain.com/cart.php?m=product_detail&p=2964 Friendly: http://www.domain.com/product_name_here.html I have always heard mixed reviews but did an experiment comparing results on the same domain and actually noticed quite a difference with the friendly ones. Thanks!
Technical SEO | | 6thirty0 -
URL rewriting from subcategory to category
Hello everybody! I have quite simple question about URL rewriting from subcategory to category, yet I can't find any solution to this problem (due to lack of my deeper apache programming knowledge). Here is my problem/question: we have two website url structures that causes dublicate problems: www.website.lt/language/category/ www.website.lt/language/category/1/ 1 and 2 pages are absolutely same (both also returns 200 OK). What we need is 301 redirect from 2 to 1 without any other deeper categories redirects (like www.website.com/language/category/1/169/ redirecting to .../category/1/ or .../category/). Here goes .htaccess URL rewrite rules: RewriteRule ^([^/]{1,3})/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /index.php?lang=$1&idr=$2&par1=$3&par2=$4&par3=$5&par4=$6&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /index.php?lang=$1&idr=$2&par1=$3&par2=$4&par3=$5&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/([^/]+)/([^/]+)/([^/]+)/$ /index.php?lang=$1&idr=$2&par1=$3&par2=$4&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/([^/]+)/([^/]+)/$ /index.php?lang=$1&idr=$2&par1=$3&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/([^/]+)/$ /index.php?lang=$1&idr=$2&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/$ /index.php?lang=$1&%{QUERY_STRING} [L] There are other redirects that handles non-www to www and related issues: RedirectMatch 301 ^/lt/$ http://www.domain.lt/ RewriteCond %{HTTP_HOST} ^domain.lt RewriteRule (.*) http://www.domain.lt/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.)/$RewriteRule ^(.)$ http://www.domain.lt/$1/ [R=301,L] At this moment we cannot solve this problem with rel canonical (due to our CMS limits). Thanks for your help guys! If You need any other details on our coding, just let me know.
Technical SEO | | jkundrotas0 -
Strange duplicate url
From your csv report I have this strange issue. This url: elettrodomestici.yeppon.it/climatizzatori/condizionatori-fissi/prodotti/condizionatori-fissi-comfee/ it's a duplicate of this elettrodomestici.yeppon.it/climatizzatori/condizionatori-fissi/prodotti/condizionatori-fissi-comfee/ but the only url that I can see in the website is this one. Why the "-" is transalted some times in "%2D" referrer obviously is elettrodomestici.yeppon.it/climatizzatori/condizionatori-fissi/prodotti/condizionatori-fissi-comfee/solo-disponibili/ I have many duplicate url...Can you help me? Thanks
Technical SEO | | yeppon0 -
URL Structure with deep Categories
Ladies n gents Which sort of URLs do you suggest for Webshops with a deep structure of categories: http://www.yourdomain.com/cat1/cat2/cat3/cat4/cat5/cat6/ (could get really long) or better use just the last 2 categories: http://www.yourdomain.com/cat5/cat6/ ? thanks for your suggestions seth
Technical SEO | | sethgecko0