My permalink is set to custom structure:/%postname%.php in WordPress. It is fine for posts. But the permalink for pages does not end with .php. If I change the permalink when editing a page, i.e., change "my-page" to "my-page.php", after I click "ok", the link changes to "my-page-php" rather than "my-page.php". How to add a suffix to the permalink of pages?

migrated from superuser.com Dec 2 '18 at 13:07

This question came from our site for computer enthusiasts and power users.


Your words say, you need to customize your web url. But the way (.something) is domain name or default web pages name. That's why you need to use other character except (.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy