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
-
Duplicate content - multiple sites hosted on same server with same IP address
We have three sites hosted on the same server with the same IP address. For SEO (to avoid duplicate content) reasons we need to redirect the IP address to the site - but there are three different sites. If we use the "rel canonical" code on the websites, these codes will be duplicates too, as the websites are mirrored versions of the sites with IP address, e.g. www.domainname.com/product-page and 23.34.45.99/product-page. What's the best ways to solve these duplicate content issues in this case? Many thanks!
White Hat / Black Hat SEO | | Jade0 -
Whether to disavow fettish sites
Hello, In one niche, all competitors have fettish backlinks. Some of these sites have related products on them, some are just information, but some border on porn sites. I'm wondering which if not all of these I should disavow. There's quite a few. We're doing a non-manual penguin recovery based on link building like paid links, unnatural anchor text and doorway sites. Thanks.
White Hat / Black Hat SEO | | BobGW0 -
Whether to use new domain or old ecommerce site domain that has been incomplete for a long time.
Hello, We are starting a second store in our niche. Which of the following should I choose: A. We have a site from a year and a half ago that we put content on but never actually added products. The category and article content needs to be completely rewritten. We will completely rewrite the content to be much better and up to date. We're planning on adding products and rewriting the manufacturer descriptions. B. We could use a new domain that is closer to exact match for our main keyword. We'd just buy one for $15 I don't know whether A or B would be the fastest way to get the site going. I'm concerned that leaving a site half done for a year could cause an issue, but I really don't know. If you've got experience with this, please advise. Thank you.
White Hat / Black Hat SEO | | BobGW0 -
Someone has built low quality links to my site - what should I do?
Hey guys, I was wondering whether you could offer me some help on something. One of the site's I'm working on has a blog attached to it and we sometimes accept guest posts from authors. A month or so back we published a blog that has been attracting a number of low-quality backlinks. Having looked into the matter further, it turned out that the client who had created the guest post was doing something called "tiered link building" and was building crappy links to their guest post content on other websites. I have subsequently deleted the blog post in question - will this devalue/cancel out the inbound links pointing to the original URL? Or do I need to do something extra? Disavow even? Comments appreciated!
White Hat / Black Hat SEO | | Webrevolve0 -
How can I tell if my site was penalized from the most recent penguin update?
Hey all, I want to be able to see if my website was penalized from the most recent penguin update because we have several hundred websites built and at the bottom of each on it says something along the lines Website by, Web Design by, Hosting by and links back to our homepage. Could this possibly be penalizing us since these links have similar anchor text and on sites that have nothing to do with our services? Thanks, Ryan
White Hat / Black Hat SEO | | MonsterWeb280 -
Big Rank Drop - Is My Site Spammy?
Like many others one of our niche sites - aluminumeyewear.com got slammed in the recent algo updates (4/18). All of our pages dropped at least 40/50 places which seems like a penalty to me. The site still ranks for its name thankfully. I'm trying to figure out if this is an over-optimization penalty, or a devaluing of back links or both. I would be grateful if I could get some feedback as to whether you feel the site is over optimized and how I could check if sources of back links have been penalized which in turn has effected us? Thanks in advance!
White Hat / Black Hat SEO | | smckenzie750 -
What do Bing and Yahoo look for in a site?
Do Bing and Yahoo look for authoritative sites like google does? Do they punish sites for black hat or spamming? The reason I ask these questions is because one of my competitors was ranking in first place for many great keywords in Google, they have the highest authority out of all of their competitors. They must have been punished by Google because now they are not ranking for any great keywords in Google. However they are ranking 1st in Bing and Yahoo for most the top keywords, getting the the most visibility out of all the sites. I attached a small Graph with latest visibility for the sites with the top keywords from google and then I also included the company that was punished from google they are the green circles on the graph. dIVI4.png
White Hat / Black Hat SEO | | SEODinosaur0