0

I have my WordPress pages URL as www.example.com/WP/sample-page and I want to make it like www.example.com/WP/p/sample-page.html For this purpose I used a Plugin name "Pages with extension" and it worked but it only add .html in the end of my pages URL. I also want to add /p/ before my pages URL so that it will become as I mentioned above. I dont want to use any extention for this purpose, Can .htaccess file do it? If yes then how?

1
  • What about adding them all as children of a page with slug p? Commented Jun 7, 2014 at 10:22

1 Answer 1

0

As I shared above that I got .html in page by a Plugin. The rest of the problem is to add /p/ before page name that I got also as TheDeadMedic mentioned above. I just created a page with URL www.example.com/WP/p.html and then created another desired page with URL www.example.com/WP/sample-page.html but add the second page as the child of first www.example.com/WP/p.html page. Then I open my desired page then I got the URL as I want www.example.com/WP/p/sample-page.html and I got my problem solved.

Get All Steps In Pic By wikiHow at: How to Add a Subpage in Wordpress

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.