Title: Adding .php only one page (permalink)
Last modified: September 11, 2021

---

# Adding .php only one page (permalink)

 *  Resolved [chad20](https://wordpress.org/support/users/chad20/)
 * (@chad20)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/adding-php-only-one-page-permalink/)
 * Hi everyone
 * I’m struggling to add the `.php` extension to one of my pages (plugin page).
   
   I created a page like `www.domain.com/dictionary` and added the shortcode of 
   my plugin.
 * I found a plugin and a couple of code snippets which would add `.php` to my permalinks,
   but it adds the php-extension to **all** of the pages. Only **one** page needs
   to have the extension.
 * The url of the page should basically look like this `www.domain.com/dictionary.
   php`. The file `dictionary.php` doesn’t really exist. A RewriteRule in the htaccess
   only redirects to `dictionary.php` which leads to a 404 because the file doesn’t
   exist.
    -  This topic was modified 4 years, 9 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/adding-php-only-one-page-permalink/#post-14862052)
 * > I found a plugin and a couple of code snippets
 * I recommend asking at that plugin’s support so the plugin’s developers and support
   community can help you with this.
 *  Thread Starter [chad20](https://wordpress.org/support/users/chad20/)
 * (@chad20)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/adding-php-only-one-page-permalink/#post-14862085)
 * Hi [@t-p](https://wordpress.org/support/users/t-p/)
    The plugin is developed 
   by myself 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding .php only one page (permalink)’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [chad20](https://wordpress.org/support/users/chad20/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/adding-php-only-one-page-permalink/#post-14862085)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
