Skip Navigation

[Gelöst] Custom permalink structure

This support ticket is created vor 3 Jahre, 10 Monate. There's a good chance that you are reading advice that it now obsolete.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+00:00)

Author
Artikel
#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: Englisch (English ) Französisch (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/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.