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.
URL - Well Formed or Malformed
-
Hi Mozzers,
I've been mulling over whether my URLs could benefit a little SEO tweaking. I'd be grateful for your opinion.
For instance, we've a product, a vintage (second hand), red Chanel bag. At the moment the URL is:
www.vintageheirloom.com/vintage-chanel-bags/2.55-bags/red-2.55-classic-double-flap-bag-1362483150
Broken down...
vintage-chanel-bags = this is the main product category, i.e. vintage chanel bags
2.55-bags = is a sub category of the main category above. They are vintage Chanel 2.55 bags, but I've not included 'vintage' again. 2.55 bags are a type of Chanel bag.
red-2.55-classic-double-flap-bag = this is the product, the bag
**1362483150 **= this is a unique id, to prevent the possibility of duplicate URLs
As you no doubt can see we target, in particular, the phrase **vintage. **The actual bag / product title is: Vintage Chanel Red 2.55 classic double flap bag 10” / 25cm
With this in mind, would I be better off trying to match the product name with the end of the URL as closely as possible?
So a close match below would involve not repeating 'chanel' again:
www.vintageheirloom.com/chanel-bags/2.55-bags/vintage-red-2.55-classic-double-flap-bag
or an exact match below would involve repeating 'chanel':
www.vintageheirloom.com/chanel-bags/2.55-bags/vintage-chanel-red-2.55-classic-double-flap-bag
This may open up more flexibility to experiment with product terms like second hand, preowned etc.
Maybe this is a bad idea as I'm removing the phrase 'vintage' from the main category. But this logical extension of this looks like keyword stuffing !!
www.vintageheirloom.com/vintage-chanel-bags/vintage-2.55-bags/vintage-chanel-red-2.55-classic-double-flap-bag
Maybe this is over analyzing, but I doubt it?
Thanks for looking.
Kevin
-
Thanks Everett,
Strange, the product on the website appears in two places, on the homepage 'Featured' product, and in the Chanel > 2.55 bags category. When I check both I only see the product name after the .com/.
Thanks for the heads up about restructuring to match the rel canonical, makes perfect sense. I'll be moving over to Wordpress, Woocomerce at some point in the future. I'll look into making the linkable URL neat and tidy as suggested.
Much appreciated...
Kevin
-
The product I checked (see above) had rel canonical tags that used the first category (though not the second / sub-category). That is different than what you listed as "default" above.
Having the default rel canonical tag be .com/product-name-UniqueID/ is fine too. The important thing here is that you should be consistent. Also realize that using the rel canonical tag like this is sort of a temporary band-aid. Ideally you would be linking to the canonical URL and displaying the canonical URL instead of linking to and displaying the non-canonical URL on the site and relying on the rel canonical tag to "fix" it.
That should be fine for now. At some point in the future you probably want to make .com/product-name-UniqueID the version that gets linked to from elsewhere on the site (such as category pages) and for all other versions of that URL to 301 redirect to it.
-
Hi Everett,
Thank you for your considered response.
Choice wise, I feel fairly constrained by my shopping cart (Opencart, and lack of technical ability !
So am I correct in thinking that Google reads the rel canonical, not what appears in the URL? I've checked the generated rel canonical & by default it takes just the product name, probably as products, as you say, can be in more than 1 category. So I get: www.vintageheirloom.com/red-2.55-classic-double-flap-bag-1362483150
As you say this omits the term chanel & vintage.
With no understanding of how to implement your suggestion of putting all products into a 'products' category I think it might be safer for me to leave as is... for now. I'll certainly bear this in mind when I next rebuild the website, all good food for thought.
Thanks!
-
Hello Mr. Vintage Heirloom,
Takeshi has some great points about priorities, and avoiding keyword stuffing your URLs. I might add, however, that putting category directories in product URLs has two major disadvantages that, in my opinion, usually outweigh the advantage of having those keywords in the URL.
#1 - If the product exists in multiple categories you risk having more than one URL for the product. This can be mitigated with redirects or rel canonical tags, but is still a pain. Here's an example:
http://www.vintageheirloom.com/vintage-chanel-bags/red-2.55-classic-double-flap-bag-1362483150
http://www.vintageheirloom.com/vintage-chanel-bags/2.55-bags/red-2.55-classic-double-flap-bag-1362483150
The bag's URL can be accessed from at least two different URLs (some products could have many more versions) and the canonical tag says that the shorter of the two URLs above is the canonical version. If that is the case the keywords in your /2.55-bags/ directory are useless as a ranking factor for that particular product page since that directory is not in the rel canonical tag.Yes you can avoid the issues presented by multiple URL versions of the page, and some sites only ever put a product into a single category. However, that does nothing to account for this...
#2 - The deeper your category structure goes the further away from the root your product pages are. I have seen product pages five or six folders deep across entire eCommerce sites because of this. While I don't think the entire site architecture should be completely flat (some sort of taxonomy in the URLs is logical and useful) you don't want your most important pages to be several folders deep either.
I always recommend going with this:
site.com/products/product-name/
Or in your case:site.com/products/product-name-uniqueID/
Putting the products into the /products/ directory is that level of useful taxonomy I mentioned above. This allows you, for instance, to do a search on Google like (site:domain.com inurl:products) to see how many of your product pages are indexed. The same type of logic is useful when segmenting analytics reports or WMT exports in Excel, among other uses.
Then you don't have to worry about keyword stuffing due to keywords already contained in the category directory portion of the URL.
This is just one person's opinion though. Some may disagree. I just don't find keywords in the URL to be all that important these days compared to other things. It has been spammed to death and thus the importance attributed to that factor has been steadily declining over the years, at least to my observation.
Regarding 301 redirects, they don't really cost you any appreciable amount of pagerank. It truly is negligible as long as you're not going through several redirect hops at once. The key is to make up your mind about your URLs with an eye to the future scalability and useability of the site - and stick with it. One round of redirects will temporarily set you back in the SERPs, but you should bounce back within a couple of weeks (good time of year to do them!) if done correctly.
Good luck!
-
Remember that every keyword you add to your URL decreases the value of every other keyword you have in the URL. You want to include a few keywords in your URL for SEO value, but not so many that it dilutes the value of the other keywords. Also, having an overly long URL is a poor user experience.
So in this case, I would not include the word "vintage" in your URL for a 3rd time, because the SEO value is marginal and it will dilute the value of your other keywords, as well as making an already long URL even longer. And like I said, changing your URL structure will result in a loss of PageRank.
-
Thanks Takeshi,
Good to know. Any harm in adding an additional 'vintage' here to match H2 product name?
www.vintageheirloom.com/vintage-chanel-bags/2.55-bags/vintage-chanel-red-2.55-classic-double-flap-bag...
Or does that look spammy?
-
If you've been running your site for a while, I would recommend against changing your URL structure as 301s do result in some loss of link value, and you will likely see your rankings drop. The URLs you have now aren't bad, so I would focus on higher value activities such as link building. Ultimately, Google weighs offsite factors more highly than a few on-site tweaks.
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
-
Google is indexing bad URLS
Hi All, The site I am working on is built on Wordpress. The plugin Revolution Slider was downloaded. While no longer utilized, it still remained on the site for some time. This plugin began creating hundreds of URLs containing nothing but code on the page. I noticed these URLs were being indexed by Google. The URLs follow the structure: www.mysite.com/wp-content/uploads/revslider/templates/this-part-changes/ I have done the following to prevent these URLs from being created & indexed: 1. Added a directive in my Htaccess to 404 all of these URLs 2. Blocked /wp-content/uploads/revslider/ in my robots.txt 3. Manually de-inedex each URL using the GSC tool 4. Deleted the plugin However, new URLs still appear in Google's index, despite being blocked by robots.txt and resolving to a 404. Can anyone suggest any next steps? I Thanks!
Technical SEO | | Tom3_150 -
Folders in url structure?
Hello, Revamping an out-of-date website and am wondering if I need to include the folders (categories) in the url structure? The proposed structure has 8 main folders. I've been reading that Google is ok if the folder is not included in the url, but is it really? The hesitation I have is that the urls are getting long and the main folder only has only a sub folder beneath it. So, /folder-name/facility-name/treatment-overview. This looks too long, doesn't it? Thanks!
Technical SEO | | lfrazer1230 -
Mobile URL parameter (Redirection to desktop)
Hello, We have a parallel mobile website and recently we implemented a link pointing to the desktop website. This redirect is happening via a javascript code and results in a url followed by this paramenter: ?m=off Example:
Technical SEO | | echo1
http://www.m.website.com redirects to:
http://www.website.com/?m=off Questions: Will the "http://www.website.com/?m=off" be considered duplicate content with "http://www.website.com" since they both return the same content? Is there any possibility that Google will take into consideration the url ending in "/?m=off"? How should we treat this new url? The webmaster tools URL parameter configuration at the moment isn't experiencing problems but should we submit the parameter anyway in order not to be indexed or should we wait first and see the error response? In case we should submit this for removal... what's the best way to do it? Like this? Parameter: ?m=off Does this parameter change page content seen by the user? - doesn't affect page content Any help is much appreciated.
Thank you!0 -
Removing Redirected URLs from XML Sitemap
If I'm updating a URL and 301 redirecting the old URL to the new URL, Google recommends I remove the old URL from our XML sitemap and add the new URL. That makes sense. However, can anyone speak to how Google transfers the ranking value (link value) from the old URL to the new URL? My suspicion is this happens outside the sitemap. If Google already has the old URL indexed, the next time it crawls that URL, Googlebot discovers the 301 redirect and that starts the process of URL value transfer. I guess my question revolves around whether removing the old URL (or the timing of the removal) from the sitemap can impact Googlebot's transfer of the old URL value to the new URL.
Technical SEO | | RyanOD0 -
Old URL redirect to New URL
Alright I did something dumb a year a go and I'm still paying for it. I changed my hyphenated URL to the non-hyphenated version when I redesigned my website. I say it was dumb because I lost most of my link juice even though I did 301 redirects (via the htaccess file) for almost all of the pages I could find in Google's index. Here's my problem. My new site took a huge hit in traffic (down 60%) when I made the change and even though I've done thousands of redirects my old site is still showing up in the SERPS and send much if not most of my traffic. I don't want to take the old site down in fear it will kill all of my traffic. What should I do? Is there a better method I should explore then 301 redirects? Could the other site be affecting my current rank since it's still there? (FYI...both sites are built on the WP platform). Any help or ideas are greatly appreciated. Thank you! Joe
Technical SEO | | kaje0 -
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 -
Singular vs plural in urls
In keyword research for an ecommerce site, I've found that widget, singular gets a lot more searches than widgets, plural AND is much less competitive. Is it better for SEO purposes to have the URLs (and matching title tags) in the catalog as /brass-widget.html, /steel-widget.html, etc., or /brass-widgets.html, etc.? I'm worried that a) searches for widgets will pass by the singular urls but not vice versa, and b) the singular form will strike visitors as bad grammar. Any advice?
Technical SEO | | AmericanOutlets0 -
Why google index my IP URL
hi guys, a question please. if site:112.65.247.14 , you can see google index our website IP address, this could duplicate with our darwinmarketing.com content pages. i am not quite sure why google index my IP pages while index domain pages, i understand this could because of backlink, internal link and etc, but i don't see obvious issues there, also i have submit request to google team to remove ip address index, but seems no luck. Please do you have any other suggestion on this? i was trying to do change of address setting in Google Webmaster Tools, but didn't allow as it said "Restricted to root level domains only", any ideas? Thank you! boson
Technical SEO | | DarwinChinaSEO0