大网数据广告活动
网站运营与故障问答

Why do some sites replace a 'Product Parent Category' with a 'Page'?

· 52CE 我爱测

Recently, I have been looking at how websites structure their eCommerce sites. After browsing quite a few sites, I have noticed there seems to be 2 primary approaches in how to handle 'Parent' and 'Child' Categories. For the sake…

问题原文

原帖链接 · Craig · CC BY-SA 3.0

Recently, I have been looking at how websites structure their eCommerce sites. After browsing quite a few sites, I have noticed there seems to be 2 primary approaches in how to handle 'Parent' and 'Child' Categories.

For the sake of this question, lets say that both sites are selling Paintings.

Site A:

This site, adopts the following URL structure:

www.example.com/page/product-category/

The 'page' would consist of image links only. These image links, would link to Product Categories, such as 'Classical Paintings', 'Renaissance Paintings' and 'Contemporary Paintings'. Upon selecting an image link, you would then be taken to the relevant Product Category, where you would be able to view the relevant products.

As stated, the 'page' does not display any products at all.

Site B:

This site, adopts the following URL structure:

www.example.com/parent-product-category/child-product-category/

Rather than the 'page' being used to present image links to 'Classical Paintings', 'Renaissance Paintings' and 'Contemporary Paintings' etc, a Parent Product Category has been used. This Parent Product category displays all of the products, from the 3 child categories, along with contextual links to the relevant Child Product Categories.

Conclusion:

Personally, I feel that Site A is missing out on targeting the shorter tail keywords. I also dislike the idea of mixing 'pages' with 'categories' and 'products'. Not sure if the latter has any effect on SEO but it is a preference of mine, nonetheless.

As for Site B, I feel this is a better approach. Not only does it 'sit better' with me logically but I feel the site structure aids in a more optimised distribution of 'link juice'.

I see so many well established sites opting for the structure, displayed in Site A, that I am wondering if I am missing something here. Does SEO favour one or the other? Maybe there is some 'best practice' practice, I am missing out on here?

Secondary Question:

Let's assume I stick with the structure displayed in Site B. I have created the following Product Categories:

Parent Category: Paintings

Child Category: Classical Paintings

As such, I have created the following URL:

www.example.com/paintings/classical-paintings/

At first, this seems pretty straight forward. What if, I then wanted to help improve user experience by implementing a Facet Navigation on the 'Paintings' Product Category page? One of the Facets being 'Classical Paintings'?

The Facet URL would look something like:

www.example.com/paintings?style=classical

Inevitably, this would produce duplicate content. If I was to go ahead with this approach, and found myself in this situation, would I simply apply 'noindex' to all Facet URLs and keep the original /paintings/classical-paintings/ URL or would I remove this URL and seek to get the Facet alternative to rank well?

已采纳解答

原帖链接 · WebElaine · CC BY-SA 3.0

Question 1: Using a Page for a top-level category can be beneficial for SEO, because your Site B scenario suggests that each category - both parent and child - is showing only a collection of products. Since the parent category will contain products that are also in the child categories, search engines may see the parent and child categories as duplicate content.

However, your Site A example is not well-optimized, since it contains only images. For SEO, you need unique content - images are part of that mix, but text should be, as well. Also, you can make Site B just as well-optimized by adding different text content to the parent categories than to the child categories. So really, you can't say "a Parent Category is always better than a Page" and you also can't say "a Page is always better than a Parent Category" - it still comes down to what's on that webpage.

Question 2: If you're going to facet by query string, just make sure to include a canonical URL on every page that may have a query string (or really - every page). Many CMSs (or at least plugins to popular CMSs) make this automatic, but basically you add a line of code, hopefully automatically, in the HTML:

www.example.com/paintings/?style=classical
www.example.com/paintings/?style=contemporary&color=red
www.example.com/paintings/?color=purple

All of these URLs are really www.example.com/paintings/, so in the template for that page, you include in your <head>

<link rel="canonical" href="http://www.example.com/paintings/" />

This tells search engines to index only the main Paintings top-level category or page - any links to the query string versions, they'll recognize that you're talking about the same page. Also make sure if you're using a tool like Google Analytics, if you want every visit to the paintings page to appear together you enter all your possible query string parameters (style, color, etc.) to be ignored. Or, if you want to keep the views separate so for example you can see how many people only facet by color=red versus how many facet by style=classical you do not need to do any additional setup. Personally I like to consolidate all the query string parameters and see all views of a particular page, and if I wanted to track facets, I'd add event tracking on the facets through Google Tag Manager and track those separately - best of both worlds.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2018-04-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。