這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Remove Category URL

描述

This plugin will completely remove the ‘/category/’ from your permalinks ( e.g. mydomain.com/category/my-category/ to mydomain.com/my-category/ ).

No configuration is required

Features

  1. Better and logical permalinks like mydomain.com/my-category/ and mydomain.com/my-category/my-post/.
  2. Simple plugin – No configuration is required.
  3. No need to modify wordpress files.
  4. Doesn’t require other plugins to work.
  5. Compatible with sitemap plugins.
  6. Compatible with WPML.
  7. Works with multiple sub-categories.
  8. Works with WordPress Multisite.
  9. Redirects old category permalinks to the new ones (301 redirect, good for SEO).

Heads up:

Read the FAQ before use.

Want to help? Use the support

螢幕截圖

  • No Category URL

安裝

  1. Upload remove-category-url.zip to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That’s it! You sould now be able to access your categories via http://mydomain.com/my-category/

常見問題

Why should I use this plugin?

Use 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” blank in the Permalink settings. So your category links look like mydomain.com/category/my-category/. With this plugin your category links will look like mydomain.com/my-category/ (or mydomain.com/my-category/sub-category/ in case of sub categories).

Will it break any other plugins?

As far as I can tell, no. I have been using this on several blogs for a while and it doesn’t break anything.

Won’t this conflict with pages?

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 mydomain.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.

The plugin has been uninstalled, but the slug /category/ did not reappear why?

A particular installation does not allow the rewrite feature in disabling the plugin. Try after disabling the plugin, save permanent links again.

評價

2021年7月31日
If you are like me .. there are some websites that need this function..It works and is a fundamental fix.. so don't worry if it isn't an 'updated plugin'. The Category Base hasn't changed in WordPress.. and this works better than adding "." in the permalink area.
2020年11月11日
I struggled to get the Category base removed using WordPress' Permalink structure and it always resulted in Error 404s. Adding this plugin (which I should've done in the first place), saved oodles of time.
2020年6月6日
I needed to remove the 'category' word from url and by the classic procedure from WordPress default setting I faced a bit of side effects...problems of redirect and other stuff. This plugin with only the installation has resolved all my problems.
2019年12月22日
The plugin can also be a bit useful, but if you deactivate it it will break the whole site. In the F.A.Q. it doesn't even tell you how to fix it in case you want to deactivate it, I had to search here in the reviews and I also did several tests. As a user already said, to solve the problem of broken links of pages, articles and everything, you just have to change your template momentarily and put back what you had, at least for me it worked. And I put 2 rating stars for not being too bad.
閱讀全部53個評價

貢獻者及開發者

“Remove Category URL” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Remove Category URL 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.6

  • Fixed: Minor bugs

1.1.4

  • Update Fix WPML

1.1.3

  • Update Fix

1.1.2

  • Update

1.1.1

  • Compatible with translate.wordpress.org

1.1

  • Fix Erros

1.0.2

  • Update Compatible with WPML.

0.1.1

  • Add uninstall.

0.1.0

  • Initial release.