Skip Navigation

[Résolu] Custom permalink structure

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 réponse, has 2 voix.

Last updated by Jamal Il y a 11 mois et 3 semaines.

Assigned support staff: Jamal.

Auteur
Publications
#1626349

PZ

Custom permalink structure

In permalink structure I need custom structure.

In Dashboard:
Settings / Permalinks / Custom Structure
I need a new tag in "available tags:".

Tag has to group months in academic year manner: 4 months of a given year (Sep, Nov, Oct, Dec) and 8 months of the following year (Jan-Aug).

How to do it easily?

Is it possible to do using toolset?

#1627269

Jamal
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: Africa/Casablanca (GMT+00:00)

Hello and thank you for contacting the Toolset support.

I am not sure what URL structure you want to create and for what post types. Can you elaborate more? Give an example of an URL and explain each part of it is what. And what post types for? The default posts or a custom post type?

In the meantime, it is worth mentioning that the custom URL structure is available ONLY for the default posts, categories; and tags. Custom post types and custom taxonomies have only one structure:
- Custom post types(CPT): /{cpt-slug}/{post-slug}
- Custom taxonomies: /{tax-slug}/{term-slug}
{cpt-slug} and {tax-slug} can be configured.

But it is not available, by default, Date archives are not available (/2020/04/26/post-slug). The only way supported by WordPress is programmatically using custom rewrite rules. Check this article https://code.tutsplus.com/articles/the-rewrite-api-the-basics--wp-25474

Or you may consider using a 3rd party plugin to do so such as:
- https://wordpress.org/plugins/permalink-manager/
- https://wordpress.org/plugins/custom-post-type-date-archives/