Remove base slug from custom-post-type URL

Description

Temporarily stopped !!!!!!!!!! you might also try Add hierarchy (parent) to posts plugin

You can have custom-post-type URL’s without their ‘slug’ in the front (for example, ‘product’ type url will no longer be: example.com/product/ball , but becomes: example.com/ball. (Useful when you dont want to use default posts)

(P.S. Note! This is a LIGHTWEIGHT (NON-SLOWING) Plugin. See other MUST-HAVE PLUGINS for everyone. )

Installation

  1. Download the zip file.
  2. Extract the zip file. you will now get a folder called EasyPostViewCounter
  3. Upload the folder to wp-content/plugins/

FAQ

Installation Instructions
  1. Download the zip file.
  2. Extract the zip file. you will now get a folder called EasyPostViewCounter
  3. Upload the folder to wp-content/plugins/

Reviews

Removes base but brokes posts and pages

After installing this plugin in clean installation of WordPress I filled up that 2 inputs with a single post_type name “sliders” (without quotes of course) and it created “SLIDERS pages” menu item – it works – even URLs are ok – without base slug

But posts and pages now appear as 404

I tried to re-save permalinks, deactivate and reactivate plugin, but same result everytime

Doesn’t appear to work

Notice: register_post_type was called incorrectly. Post type names must be between 1 and 20 characters in length. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in //wp-includes/functions.php on line 4139

and a heap of other errors.

Works well

Thanks. Works as described, trouble free. Runs on multisite as well.

Read all 4 reviews

Contributors & Developers

“Remove base slug from custom-post-type URL” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

Version 1.0

  • First released version