Rewrite Slug in JetEngine’s Custom Post Type settings

Let’s explore how setting the Rewrite Slug option in JetEngine affects website management. The following illustration pertains to the Rewrite Slug item, and this setting holds significance beyond merely enhancing the readability of URLs.

image 17

For concepts related to Custom Post Type, or the items above regarding Register Query Var and Rewrite, please refer to the post below.

What is Rewrite Slug?

Rewrite Slug is a feature that adjusts the permalink structure of custom post types (CPT) in WordPress. By default, it is the same as the CPT slug, but it can be restructured in a user-friendly way. This helps users have a better experience while navigating the website and positively impacts search engine optimization (SEO).

Example 1: Default Structure

If the CPT classification name is entered as ‘project’ and no separate Rewrite Slug setting is made, the permalink will be displayed as follows.

  • CPT Slug: project
  • No Rewrite Slug setting (default used)
  • Permalink result: https://example.com/project/project-name

Example 2: When Setting Rewrite Slug

If the CPT classification name is entered as ‘project’ and the Rewrite Slug setting is specified as ‘portfolio’, the permalink will change as follows.

  • CPT Slug: project
  • Rewrite Slug: portfolio
  • Permalink result: https://example.com/portfolio/project-name

As seen in the examples above, setting the Rewrite Slug is useful when you want to adjust the URL to be more meaningful to users as needed.

Why is Rewrite Slug Necessary?

This setting serves various purposes and is frequently used in practice. Let’s take a look.

1. Branding and Marketing Purposes

If a user’s URL aligns with brand identity, it can enhance credibility. For instance, while the actual CPT name is case_study, the URL seen by users can be changed to /success/project-title.

2. Reusable Structure for CPT

When registering multiple custom post types, you can keep the original names the same while setting different URLs. For example, listing_type_a can be set to jobs, while listing_type_b can be set to properties.

In other words, the names managed internally can be set as ‘***_a’, ‘***_b’, etc., while the addresses shown to visitors can be different.

3. Multilingual Support

On multilingual websites, slugs can be set according to the language; for example, the Korean 리뷰 and the English testimonials can be matched by language.

When is it Useful?

Let’s summarize when the Rewrite Slug setting is helpful.

SituationUsefulness
When URL branding is importantVery useful
When you only want to change the displayed URLUseful
Inserting keywords for SEOAppropriate
Multilingual permalink supportDevelopment needed
CPT used only with REST APIUnnecessary

Cautions

After setting to Rewrite On, you must click “Save Changes” on the Permalink settings page without changing anything.

This setting is designated in JetEngine, but the application of rewrite rules follows WordPress management, and only after this will the rewrite rules be registered in WordPress.

If you change the Rewrite Slug to another name after writing posts with the designated Post Type and exposing them to search engines, the search engines will already have indexed the existing name, resulting in a situation where clicking on search results leads to a non-existent page.

Therefore, it is advisable to complete such settings before writing the first post (or before exposing it to search engines).

If changes are made reluctantly after posts have already been written and indexed by search engines, the existing slug name may be indexed while new slugs are perceived as separate posts or recognized as duplicate content, potentially lowering site credibility, and visitors clicking on search result links displayed with the old slug may see a non-existent page, necessitating 301 redirection processing.

Conclusion

Rewrite Slug is an important setting that can enhance the expressiveness and branding of URLs. It is especially advisable to use it actively in projects sensitive to SEO, marketing, and user experience.

 

[Rewrite Slug] : A feature that adjusts the permalink structure of custom post types (CPT) in a user-friendly manner.
[CPT] : Custom Post Type, which allows you to add your own content types in addition to the default posts and pages.
[SEO] : Search Engine Optimization, which refers to the process of optimizing the structure and content of a website to be exposed in search engines.

Updated : March 31, 2025
{{ reviewsTotal }}{{ options.labels.singularReviewCountLabel }}
{{ reviewsTotal }}{{ options.labels.pluralReviewCountLabel }}
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}
This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.