Remove CPT base

Deskripsi

Remove custom post type base slug from url

  • possibility to select specific custom post type(s)
  • auto redirect old slugs to no-base slugs

Instalasi

  1. Unggah direktori remove-cpt-base ke direktori /wp-content/plugins/
  2. Aktifkan plugin melalui menu ‘Plugin’ di WordPress

Ulasan

18 November 2022
The plugin simply does the job we are expecting. After years there was a bug but the support solves it quickly. I highly recommend this plugin if you want an easy way to remove the cpt base in order to have a cleaner slug !
18 Agustus 2022
Excellent plugin, it should be integrated into WP core. Thank you Jakub
26 Juli 2022
Was pulling my hair out looking for a solution! This plugin works great.
Baca semua 24 ulasan

Kontributor & Pengembang

“Remove CPT base” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor

Log Perubahan

6.1

  • tested on WP 6.1
  • use request hook instead of pre_get_posts to fix 404 in console

6.0

  • fix for WPML hierarchical translated posts

5.9

  • added nonce and security checks

5.8

  • tested on WP 5.9

5.7

  • diuji pada WP 5.5
  • minor fix

5.6

  • tested again with WPML, Polylang and Custom Post Type Permalinks and fixed

5.5

  • diuji pada WP 5.5
  • another fix for Custom Post Type Permalinks plugin

5.4

  • enable previews for CPTs without base

5.3

  • make it works with WPML
  • make it works with Polylang
  • make it works with Custom Post Type Permalinks plugin

5.2

  • diuji pada WP 5.4

5.1

  • removed auto-prevent slug duplicates
  • removed debug mode
  • removed remove_cpt_base_skip filter
  • gunakan fungsi WP standar alih-alih khusus
  • make it works for custom rewrite slugs
  • prioritize page and post like WP does

5.0

  • ANDA HARUS MENYIMPAN KEMBALI PENGATURAN, karena:
  • added alternation option for each post type separately
  • added debug mode

4.8

  • fix alternative CPT children solving for nested children

4.7

  • alternative CPT children solving

4.6

  • fix server port redirect

4.5

  • make it works for WP installations in directory

4.4

  • minor changes

4.3

  • fix for some endpoints and make sure post is not interpreted as attachment

4.2

  • fix for hierarchical CPTs on some servers

4.1

  • make it works for posts interpreted like category by WP

4.0

  • diuji pada WP 5.2
  • make it works for hierarchical post types and different permalink structures
  • going back to ‘pre_get_posts’
  • optimize generating slug for duplicate names

3.3

  • change HTTP code from 404 to 200

3.2

  • fix for query strings

3.1

  • add custom endpoint rewrites support

3.0

  • stop using complicated ‘pre_get_posts’ and handle 404 instead

2.3

  • diuji pada WP 5.0

2.2

  • fix 404

2.1

  • fix redirect loop in WPML and WooCommerce

2.0

  • stop using .htaccess rules

1.2

  • auto init after permalinks updated

1.1

  • add uninstall hook
  • add duplicate slug check
  • minor updates

1.0

  • First version