Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Remove Category URL

Description

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

Fonctionnalités

  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

Captures d’écran

  • No Category URL

Installation

  1. Upload remove-category-url.zip to the /wp-content/plugins/ directory.
  2. Activez l’extension par l’intermédiaire du menu « Extensions » de WordPress.
  3. That’s it! You sould now be able to access your categories via http://mydomain.com/my-category/

FAQ

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.

Avis

6 août 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 juillet 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 novembre 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.
Lire les 57 avis

Contributeurs/contributrices & développeurs/développeuses

« Remove Category URL » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Remove Category URL » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

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

  • Version initiale.