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

WordPress subcategories and SEO

· 52CE 我爱测

I have questions about categories. Is it okay to have child (nested categories)? For example: Software Development -- Web ---- Java Script ---- PHP ---- HTML 5 -- Low level ---- C ---- Assembly What impact will regarding SEO and …

问题原文

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

I have questions about categories. Is it okay to have child (nested categories)?

For example:

Software Development
-- Web
---- Java Script
---- PHP
---- HTML 5
-- Low level
---- C 
---- Assembly

What impact will regarding SEO and search engines?
In this case there three categories are just wrappers that won't contain any posts Software Development, Web and Low level.

How will such structure of categories affect SEO?

EDIT

For example URL of post Hello World in following category hierarchy

 Software Development
    -- Mobile Development
    ---- Android development

Will be

domain.com/software-development/mobile-development/android-development/hello-world/

For me personally it looks ugly. Development word is very redundant. But what about search engines ?

已采纳解答

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

Obviously you can always have nested categories in WordPress (and most other CMSs) as well as child pages, child posts, grandchildren, etc.

If done in a non-spammy fashion, there is no real advantage or disadvantage from the pure SEO perspective...the spiders don't particularly care so long as the links work and the content is indexable. The big worry is creating a spammy-looking site that appears to abuse common keywords. As a rule of thumb I never go lower than grandchildren:

 Software Development
    -- Mobile Development
    ---- Android development <---- no lower.

and try to avoid repeating the same terms in categories (e.g. "development" above). So a good replacement for the above could be:

Development
   -- Mobile
   ---- Android
   ---- iOS

That should handle most spam concerns.

The other reason to avoid long, nested categories is simple UX. I can remember and type yoursite.com/development/mobile/android/pretty easily but yoursite.com/software-development/mobile-development/android-development/makes me tired just looking at it. So always keep humans in mind when creating nice permalinks and the SEO benefit should follow automatically.

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

资料来源与适用范围

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

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

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