How To Customize The Post URL Structure

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000079189

By default the URL structure of a post is: post type / post title 



The way to customize this structure is by navigating to Settings >> Advanced Settings and searching for the advanced setting:


Post URL Structure


System Variable: post_url_structure




To add a new value select the plus sign next to the variable name:




To modify the structure of the URL drag and drop each variable to the desired place:




Once the Post URL structure is customized, click Save to apply it to newly generated post URLs.


Important: Changing this setting does not immediately rewrite every existing post URL. The structure applies to new posts and when an existing post URL is regenerated through the standard post update process.


How Post Titles Become URLs

When the system generates a URL from a post title, it formats the name or title for use in the URL:

  • Straight and curly apostrophes are removed.
  • Most other punctuation, symbols, and spaces become hyphens. Repeated hyphens are combined into a single hyphen.
  • Underscores are preserved.
  • Accented and non-Latin letters retain their existing handling. Some characters may appear as percent-encoded values in a copied URL.
Original post titleGenerated name or title portion
Ruby’s Clay Studiorubys-clay-studio
Ruby's Clay Studiorubys-clay-studio
Art • Studioart-studio
Studio_Namestudio_name

These examples show only the name or title portion. The full URL also follows the configured URL structure, and a duplicate URL may require an additional identifier.

Existing and Custom Post URLs

The formatting rules apply when a post URL is generated or regenerated. A platform update does not automatically rewrite all stored post URLs.

Automatically generated URLs follow the configured structure. A manually customized post URL is a separate choice; changing the default structure should not be used as a way to replace every custom URL. For individual URL changes and the associated redirect behavior, see How to Manually Edit the URL / Filename of Posts.