Legacy URL Suffix & SEO Preserver

Changelog

2.2

  • Added plugin header license metadata for WordPress.org compliance.
  • Hardened settings sanitization and checkbox rendering for stricter coding standards compliance.
  • Replaced parse_url() with wp_parse_url() and sanitized request URI handling.
  • Escaped WooCommerce rewrite-rule slugs before building regex patterns.

2.0

  • Added dynamic Post Type settings: Choose which post types (Pages, Posts, Products, CPTs) get the .php extension.
  • Added “Remove Trailing Slashes” option: Automatically strips trailing slashes from .php URLs and 301 redirects slashed versions.
  • Improved performance: Settings now use saved options instead of heavy queries.
  • Enhanced UI: New tabbed settings interface for General, Post Types, and WooCommerce options.
  • Full backward compatibility: Existing installations default to “Page” post type enabled.
  • Excluded internal post types (Revisions, Nav Menus, etc.) from settings.

1.7

  • Added WooCommerce compatibility settings page.
  • Added toggle options for Shop, Cart, and Checkout pages.
  • Fixed issue where WooCommerce Shop page showed 0 products when plugin was active.
  • Implemented automatic rewrite rule flushing on version update and setting changes.
  • Compatibility checks for non-WooCommerce environments.

1.6

  • Fix deactivation logic.
  • Fix duplicate extension bug.
  • WordPress 6.9.1 compatibility.

Plugin Website
Visit website

Version:
2.2
Last Updated
April 2, 2026
Active Installs
200
Requires
WordPress 2.5.1
Tested Up To
WordPress 6.9.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.