Hlp with site setup
-
Hi there and thanks for the great information, certainly lots to take in.
Can anyone suggest the best way to setup product / category url structure for a store?
At the moment we have something like domainname.com/parentcategory/subcategory/product name.html
As the product url, we edited url structure using a plugin, we don't use default WooCommerce url settings.
domainname.com/parentcategory/subcategory/product name.html. this can sometimes be long
But when you click on the product the url changes to the following.
domainname.com/product name.html. This can shorted the url by 40% and still have keyword in url
Is there any benefit in doing his? Re canonical urls, I only have about 15 products that are selected in many categories.the other 200 are under once category only.
Product pages don't have many backlinks at the moment.
Thanking you so much.
-
HI seoelevated thaks again for taking the time to explain.
That helps a lot and will adjust the site accordingly, it makes sense.
-
To my understanding, a redirect and a canonical are treated very similarly from an SEO standpoint. With either of these, only the end URL (either the one to which you are redirecting, or the one linked in the canonical reference) is the one which, if all directives are honored, gets indexed. So, unless I'm missing something, there is no benefit at all of having the category paths in the URLs if you are either redirecting from those to the flat one, or if you are pointing a canonical to the flat one. The benefit would be there if those keywords were in the final URL (redirected or canonical). But if the final URL is flat, then I don't think you get any benefits from the non-canonical URLs having keywords in their paths. So, if the flat URL is the final one, from either method, I would ensure that the "product name" is fully descriptive with the desired keywords.
-
Hi seoelevated, thanks for taking the time to explain.
The reason for asking was that I noticed many sites that rank well within our industry display the full path in their urls, for example, domainname.com/parentcategory/subcategory/product name.html and this allows them to do as you suggested, have keywords in the category, then sub cat and then finally the product title.
Many when clicking on a product remove the categoy urls completely, something like this, domainname.com/product name.html and I didn't understand why but it makes sense now. I just thought that there might have been an SEO benefit to doing this.
Looking at our site we do have the following setup link href="https://www.domainname.com/category/subcat/product.html/" rel="canonical" so I assume that this tells google the right path to follow. I think that the disadvantage here is that urls can become quite long so they need to be optimised, much shorter than they are now.
As of accessing urls from many locations, some articles that you read say that the url should only be accessible from one path which was my worry. Although the cannical url tag is there I dont know if its it hurts our website if you can still access from all of the following, is this okay or should I not worry about it.
domainname.com/parentcategory/subcategory/product name.html
domainname.com/subcategory/product name.html
domainname.com/product name.html
domainname.com/parentcategory/product name.html -
The benefit of the directory paths approach is the additional keywords, if your product name (or ID) is not in itself descriptive enough. For example, if you have a sofa style named "Diana", you wouldn't want your URL to be domainname.com/diana.html. Something like domainname.com/furniture/sofas/diana.html would be better.
But, you can accomplish that with more descriptive product IDs. So, in the example above, if you could make your product name "furniture-sofas-diana", then your URL would be domainname.com/furniture-sofas-diana.html, which accomplishes the same keyword targeting.
And then that solves the issue of when products are in multiple categories, since it's a flat URL regardless of how the visitor arrived to the page.
But if your products are really almost entirely in a single category each (keeping in mind temporary categories like "sale", "new", etc.), and they will be that way forever, then there is an argument to be made for the paths. Because it does help the search engine to parse up your site, and to provide nice breadcrumbs on your listings.
This is really a perennial debate. And there's no one answer. For most of us, we do have to live with products being in multiple categories, as the norm (especially when considering categories like sale, new, best sellers, etc.). Canonical reference links help this issue, but aren't necessarily ideal.
But, what really struck me in your question was that you said the URL changes when you click on the product. Ideally, you don't want all your internal links to be redirects. That's something I would try to avoid.
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
-
Algorithmically penalized site
I have been doing SEO for years, but luckily have never had a client penalized or had to go through that. I see everyone talking about it at conferences and know the absolute basics of recovery, but just had someone come to me that was algorithmically penalized about two years ago. They have no actual data to show me a date and they couldn't tell me a specific date. According to them, their SEO disappeared and wouldn't give them access to the analytics. They are definitely showing just about every red flag with anchor tags and low trust links and tons of duplicate content. Just about everything. I realize you don't have the deep data to go by, but are there cases when it is just better to start over from scratch. They have literally thousands of bad links and strange site pages that they say they weren't even aware of. Whether they were or not I guess isn't the point now, but I have heard rumors that if you start over, Google will still figure it out and follow you with the penalty. Is this true or documented? Don't want to potentially recommend that if that is something that generally happens to bad offenders. Happy to do the work and try to resolve their issues, but it is a lot of work and is going to be expensive and want to present other options. Thanks and any thoughts suggestions are appreciated.
White Hat / Black Hat SEO | | jeremyskillings0 -
Old Press Release sites - Which ones do you Disavow and leave alone
Hi Mozers! I need your help. I'm in the final stages of a huge link audit and press releases are a big concern. As you know, press release distribution sites up until 2012 had "follow" links, giving webmasters a delight of having their keyword anchor texts a big boost in rankings. These are the websites that are troubling me today so i would appreciate your input on my strategy below as most of these websites are asking for money to remove them: 1. Press Release sites that are on the same C-class - Disavow 2. Not so authoritative press release websites that just follow my www domain only (no anchor texts) - I leave it alone 3. Not so authoritative press release websites but have anchor texts that are followed - Disavow 4. Post 2012 press release websites that have "followed" anchor text keywords - Request to remove, then disavow 5. Post 2012 press release websites that just follow my www domain only (no anchor texts) - leave it alone #2 and #5 are my biggest concern. Now more than ever I would appreciate your follow ups. I will respond quickly and apply "good answers" to the one's that make the most sense as my appreciation to you. God bless you all.
White Hat / Black Hat SEO | | Shawn1240 -
Can links from an old site raise DA for other site? Or just unethical?
So this may be an odd question. So a competing company went out of business. Their domain name is now available. So just for research purposes, would you ever or would it be unethical for a person to buy an expired competing domain name, and point it to another site to collect their link juice? The site was only a DA of 10, but not sure if one - its bad to buy a competing companies expired domain - and two - even though in the same industry, this would be bad to point it to another site or create a site from it. Just curious your thoughts.
White Hat / Black Hat SEO | | asbchris0 -
Is one of my competitors trying to get my site penalized?
Hi guys, I have been ranking #2 for a popular search term for several months now, and today I noticed a drop to #5, so I went to check my backlink profile, and I'm seeing thousands of no-follow exact keyword matched backlinks, all from spammy looking websites. I looked at some of the links and they do link to me, but I didn't generate these links, and I have never paid anybody externally to build links for me. What is the best course of action for me here? link disavow tool?
White Hat / Black Hat SEO | | davegill0 -
Can anyone tell me why this site ranks so well?
Site in question: cellphoneshop.net From what I can tell from their link profile, the links they garner don't appear to be particularly high value but they dominate organic listings for my vertical (cell phone accessories), esp. in the last 2-3 months when Google was supposedly increasing the quality of their search results. Can anyone tell me why in particular this site ranks so well for competitive short and long tail terms?
White Hat / Black Hat SEO | | eugeneku0 -
Are duplicate item titles harmful to my ecommerce site?
Hello everyone, I have an online shopping site selling, amongst other items, candles. We have lots of different categories within the LED candles category. One route a customer can take is homepage > LED candles > Tealights. Within the tealights category we have 7 different products which vary only in colour. It is necessary to create separate products for each colour since we have fantastic images for each colour. To target different keywords, at present we have different titles (hence different link texts, different URLs and different H1 tags) for each colour, for example "Battery operated LED candles, amber", "Flameless candles, red" and "LED tealights, blue". I was wondering if different titles to target different keywords is a good idea. Or, is it just confusing to the customer and should I just stick with a generic item title which just varies by colour (eg. "LED battery candles, colour")? If I do the latter, am I at risk of getting downranked by Google since I am duplicating the product titles/link texts/URLs/H1 tags/img ALTs? (the description and photos for each colour are unique). Sorry if this is a little complicated - please ask and I can clarify anything...because I really want to give the best customer experience but still preserve my Google ranking. I have attached screenshots of the homepage and categories to clarify, feel free to go on the site live too. Thank you so much, Pravin BqFCp.jpg KC2wB.jpg BEcfX.jpg
White Hat / Black Hat SEO | | goforgreen0 -
Can someone explain how a site with no DA, links or MozTrust, MozRank can rank #1 in the SERPs?
I do SEO for a legal site in the UK and one of the keywords I'm targeting is 'Criminal Defence Solicitors'. If you search this term in Google.co.uk this site comes top www.cdsolicitors.co.uk, yet in my mozbar it has 0 links, 0 DA etc, I noticed it top a few weeks ago and thought something spammy was going on; I thought if I was patient, Google would remove it, however it still hasn't. Can someone explain how it is top in the SERPs? I've never seen this before. thanks
White Hat / Black Hat SEO | | TobiasM0 -
Auto-link inside your own site to the same domain is white-hat?
Hi, I am using a plugin in wordpress that make auto link for some certain keywords in my site suppose: My site is example.com My important keyword is: sample and across the domain example.com through out the content if there is the word: sample it is linked automatically to example.com I like your opinion about this practice, if it may carry any kind of punishment by SEs? Thanks.
White Hat / Black Hat SEO | | Pooria0