Adding .php only one page (permalink)
-
Hi everyone
I’m struggling to add the
.phpextension to one of my pages (plugin page).
I created a page likewww.domain.com/dictionaryand added the shortcode of my plugin.I found a plugin and a couple of code snippets which would add
.phpto 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 filedictionary.phpdoesn’t really exist. A RewriteRule in the htaccess only redirects todictionary.phpwhich leads to a 404 because the file doesn’t exist.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Adding .php only one page (permalink)’ is closed to new replies.