PTAPS – Post Type Archive Pages and Permalink Settings
Associate existing pages with custom post type archives and customize URL bases for custom post types and taxonomies.
Install in
PTAPS associates existing pages with custom post type archives and lets you customize URL bases through the native WordPress settings screens.
- Settings > Reading: select an existing page for each public custom post type’s archive.
- Settings > Permalinks: set single-post and taxonomy URL bases. A selected archive page’s path supplies the default post type base unless you enter an override.
The selected page supplies the archive path and title; your theme renders the archive.
Yoast SEO, WPML and Timber integrations are included when those plugins or libraries are present.
Before you start
The plugin does not create pages or register post types and taxonomies. It provides settings for public, non-built-in types and taxonomies registered by your theme or other plugins.
Create the pages you want to assign first. Test URL changes on staging and review existing links and redirects before changing a public site. Changing a selected page’s slug or parent can also change the associated archive path.
Want to contribute?
Report issues or contribute on GitHub.
Written by Joobi from the project's own listing. See the source page
2.3.3
- Fix WPML archive and single-post links in query-parameter mode and on sites served under a subdirectory.
- Scope translated rewrite rules to the assigned post type and preserve existing rules.
- Respect WordPress archive prefixes and fix language switcher links with Plain permalinks.
- Preserve language parameters in Yoast archive canonicals and pagination links.
2.3.2
- Respect the WordPress trailing-slash setting in WPML permalinks and Yoast archive links.
- Show the configured trailing-slash format in post type and taxonomy permalink settings.
2.3.1
- Restore the archive Edit Page toolbar icon on WordPress 7.2.
2.3.0
- Raise the minimum supported PHP version to 8.3.
- Follow WPML’s language-switcher settings for assigned archives, including custom switcher fallbacks.
- Stop substituting translated archive links for missing single-post translations.
- Keep missing archive translations as 404s, with language-homepage navigation but no fallback hreflang alternates.
- Preserve taxonomy and other non-archive language links, and fix links for archives assigned to the static front page.
- Refresh archive rewrite rules after assigned pages or their ancestors change paths.
- Preserve archive-page assignments when their WPML translations are missing.
- Avoid changing permalink values on repeated saves and correct the displayed
with_frontsetting. - Preserve explicit ports in archive SEO URLs and encode Yoast editor notices safely.
2.2.8
- Show and preserve assigned archive pages when their WPML translation is missing.
- Improve settings sanitization, request handling, and translation compatibility.
See earlier releases for older changes.
Follow this listing's changes (Atom feed)