问题原文
原帖链接 · 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.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
