开发者 | mines.io |
---|---|
更新时间 | 2024年10月28日 09:49 |
PHP版本: | 3.1 及以上 |
WordPress版本: | 3.4 |
myblog.com/category/my-category/
to myblog.com/my-category/
).
The plugin requires no setup or modifying core wordpress files and will not break any links. It will also take care of redirecting your old category links to the new ones.
Features
myblog.com/my-category/
and myblog.com/my-category/my-post/
.no-category-base-wpml.php
to the /wp-content/plugins/
directoryUse this plugin if you want to get rid of Wordpress' "Category base" completely. The normal behaviour of Wordpress is to add '/category' to your category permalinks if you leave "Category base" blank in the Permalink settings. So your category links look like myblog.com/category/my-category/
. With this plugin your category links will look like myblog.com/my-category/
(or myblog.com/my-category/sub-category/
in case of sub categories).
As far as I can tell, no. I have been using this on several blogs for a while and it doesn't break anything.
Simply don't have a page and category with the same slug. Even if they do have the same slug it won't break anything, just the category will get priority (Say if a category and page are both 'xyz' then myblog.com/xyz/
will give you the category). This can have an useful side-effect. Suppose you have a category 'news', you can add a page 'news' which will show up in the page navigation but will show the 'news' category.
Depends, if its useful enough and I have time for it.