Title: Legacy URL Suffix &amp; SEO Preserver
Author: Himanshu Parashar
Published: <strong>2010-يىلى 5-مارت</strong>
Last modified: 2026-يىلى 2-ئاپرېل

---

قىستۇرما ئىزدە

![](https://s.w.org/plugins/geopattern-icon/php-to-pages.svg)

# Legacy URL Suffix & SEO Preserver

 يازغۇچى [Himanshu Parashar](https://profiles.wordpress.org/uniquecodergmailcom/)

[چۈشۈر](https://downloads.wordpress.org/plugin/php-to-pages.2.2.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/php-to-pages/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/php-to-pages/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/php-to-pages/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/php-to-pages/#developers)

 [قوللاش](https://wordpress.org/support/plugin/php-to-pages/)

## چۈشەندۈرۈش

**Don’t Let Your SEO Rank Vanish During a Migration.**

Migrating a legacy website to WordPress is a massive win for your workflow, but 
it can be a disaster for your search engine rankings. If your old site used .php
extensions (e.g., `domain.com/about-us.php`), moving to standard WordPress «Clean
Permalinks» will turn every one of those established links into a 404 Page Not Found
error.

PHP to Pages is the lightweight, «set it and forget it» solution that bridges the
gap between your legacy architecture and modern WordPress flexibility.

### The Value Proposition

> «Seamlessly transition from legacy PHP sites to WordPress while maintaining 100%
> URL consistency. No complex .htaccess coding, no broken backlinks, and zero SEO
> drop-off.»

### Why Choose PHP to Pages?

When you change your URL structure, you lose the «link juice» accumulated over years.
This plugin ensures that your existing backlinks from social media, external blogs,
and Google search results remain active and functional.

 * **Instantly Append .php Suffix:** Automatically transforms `yoursite.com/sample-
   page/` into `yoursite.com/sample-page.php`.
 * **SEO Preservation:** Keep your indexed URLs exactly as they appear in Google
   Search Console to avoid the dreaded «re-indexing» phase.
 * **Zero-Configuration Setup:** No need to dive into your server’s .htaccess or
   Nginx config files. Just activate and your permalinks update instantly.
 * **Developer Friendly:** Built with standard WordPress Rewrites API, ensuring 
   compatibility with most well-coded themes and plugins.
 * **Lightweight Performance:** No bloat, no database-heavy queries. It simply tells
   WordPress how to read and display your URLs.

### Who Is This For?

 * **Agencies & Freelancers:** Moving a long-term client from a static PHP site 
   to WordPress.
 * **SEO Specialists:** Ensuring that a site migration doesn’t result in a loss 
   of organic traffic.
 * **Legacy Site Owners:** Anyone who has a decade’s worth of backlinks pointing
   to .php files and doesn’t want to manage thousands of manual 301 redirects.

### How It Works

 1. **Install & Activate:** Simply upload the plugin to your WordPress dashboard.
 2. **Permalinks Refresh:** Go to **Settings > Permalinks** and click «Save Changes»
    to flush your rewrite rules.
 3. **Done:** Your pages will now resolve with the .php extension.

### Example

 * **Before:** `http://sfdcbeginner.com/child-parent-communication-without-event`
 * **After:** `http://sfdcbeginner.com/child-parent-communication-without-event.
   php`

## ئورنىتىش

 1. Upload PHP-on-pages.php to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ›Plugins‹ menu in WordPress

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«Legacy URL Suffix & SEO Preserver» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ
قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

 *   [ Himanshu Parashar ](https://profiles.wordpress.org/uniquecodergmailcom/)

[«Legacy URL Suffix & SEO Preserver» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/php-to-pages)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/php-to-pages/)، 
[SVN خەزىنە](https://plugins.svn.wordpress.org/php-to-pages/) تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/php-to-pages/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/php-to-pages/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 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.

## Meta

 *  Version **2.2**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **3 كۈن بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **200+**
 *  WordPress نەشرى ** 2.5.1 ياكى يۇقىرى **
 *  **6.9.4** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/php-to-pages/)
 * بەلگە
 * [301 redirect](https://ug.wordpress.org/plugins/tags/301-redirect/)[permalinks](https://ug.wordpress.org/plugins/tags/permalinks/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/php-to-pages/advanced/)

## دەرىجە

 5/5 يۇلتۇز

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/php-to-pages/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/php-to-pages/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/php-to-pages/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/php-to-pages/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/php-to-pages/reviews/?filter=1)

[ئىنكاسىمنى قوش](https://wordpress.org/support/plugin/php-to-pages/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/php-to-pages/reviews/)

## تۆھپىكار

 *   [ Himanshu Parashar ](https://profiles.wordpress.org/uniquecodergmailcom/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/php-to-pages/)