WordPress对于分类目录的链接是这样定义的:http://xx.com/category/diary,其中的category部分难免觉得有一些多余,且百度等搜索引擎也会将这样的链接划定至不友好的区域。WP酷没有在网上找到可以用代码代替该插件的方法,如果你对博客的SEO方面特别重视,不妨试一下!上传插件后直接可以使用,没有任何的配置选项。
官方英文介绍
- Better and logical permalinks like
myblog.com/my-category/
andmyblog.com/my-category/my-post/
. - Simple plugin – barely adds any overhead.
- Works out of the box – no setup needed.
- No need to modify wordpress files.
- Doesn’t require other plugins to work.
- Compatible with sitemap plugins.
- Works with multiple sub-categories.
- Works with WordPress Multisite.
- Redirects old category permalinks to the new ones (301 redirect, good for SEO).
插件下载地址:http://wordpress.org/plugins/wp-no-category-base/