How to change permalink for pages in WordPress?

admin2025-06-05  1

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?

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?

Share Improve this question asked Dec 2, 2018 at 12:32 peterpeter 101
Add a comment  | 

1 Answer 1

Reset to default 0

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 (.)

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749133970a316650.html

最新回复(0)