Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Remove Category URL

Beskrivning

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

Funktioner

  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

Skärmdumpar

  • No Category URL

Installation

  1. Upload remove-category-url.zip to the /wp-content/plugins/ directory.
  2. Aktivera tillägget via menyn ”Tillägg” i WordPress.
  3. That’s it! You sould now be able to access your categories via http://mydomain.com/my-category/

Vanliga frågor

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.

Recensioner

6 augusti 2023
I used this plug-in recently and when I analysed my sites via Google Search Console, none of my pages were referenced. Each time, the Google crawler told me that the URL was invalid or that the server had a problem (with the page inspector).I removed the plug-in and everything was back to normal (I now use Rank Math to remove the category).Maybe this plug-in has had its day in the past, but be careful now.
31 juli 2021
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.
11 november 2020
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.
Läs alla 57 betyg

Bidragsgivare och utvecklare

”Remove Category URL” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Remove Category URL” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.