Home Plugins remove post type slug
Remove Post Type Slug logo

Remove Post Type Slug

by Akshay Shah on WordPress.org

This plugin will help you to remove the default custom slug of post type from the URL, a common requirement for SEO enthusiasts.

(0)
Admin settings for configuring post type slugs.

Admin settings for configuring post type slugs.

This plugin provides a clean, SEO-friendly URL by allowing you to remove custom post type slugs with just a few clicks.

Key Features:
– Remove custom post type slugs via plugin settings in the admin dashboard under Remove Custom Post Type Slug Settings.
– View and select post type slugs to remove, then save your settings.

Developer Note

For additional customization, use the following filter:
add_filter('remove_custom_post_type_slug', function($slug_list) {
return $slug_list;
});

Ensure each slug name in the array matches exactly.

Supported functions:
post_type_link
get_the_permalink
the_permalink

This plugin is also compatible with Custom Post Type UI.

For questions, email akshay.shah5189@gmail.com.

If you’re looking to remove taxonomy slugs, check out my other plugin: Remove Taxonomy Slug

Active installations50+
Weekly downloads
31+34.78%
Version1.0.2
Last updated11/4/2024
WordPress version3.0.1
Tested up to6.6.2
Tags
clean urlcustom post type slugpost typeremove custom post type slugslug
Remove Post Type Slug | Plugin0