Home Plugins wp permastructure
WP Permastructure logo

WP Permastructure

by Robert O'Rourke on WordPress.org

Adds the ability to configure permalinks for custom post types using rewrite tags like %post_id% and %author%.

(15)
The extended permalink settings panel

The extended permalink settings panel

In addition to controlling your custom post type permalinks this plugin adds support for using custom taxonomies in your permalink structures as well.

Not only that but you can control the full permalink so the post type slug is not required at the start of the link.

Multiple post types can use the same permalink structure.

Usage

There are 2 ways to use this plugin:

Permalink Settings

The plugin adds fields to the permalinks settings page for any public facing custom post types.

In Code

When registering a post type you can add a value to the rewrite property with the key ‘permastruct’ to define your default permalink structure.

eg:

 array(
        'permastruct' => '/%custom_taxonomy_name%/%author%/%postname%/'
    ),
    ...
) );

?>
Active installations500+
Weekly downloads
27-28.95%
Version1.4.4
Last updated7/26/2023
WordPress version3.3
Tested up to6.3.5
Tags
custom post typesCustom Taxonomiespermalinksrewrite rulesurls
WP Permastructure | Plugin0