How to get pages to end with .html (3 posts)

  1. cwalton
    Posted 5 years ago #

    I'm converting an existing site to WordPress. Actually using v2.9.2

    I changed the permalinks to end with .html per the codex. That works great on the posts.

    It does not work on the pages. If the page name is "Page Name", the URL is /pagename without any extension.

    I tried adding the .html in the permalink field on the page and it gets changed to a dash.

    How do I get pages to use the .html extension?


  2. techooze
    Posted 5 years ago #

    /%year%/%monthnum%/%day%/%postname%.html or

    for pages use this plugin


  3. cwalton
    Posted 5 years ago #

    Perfect! That's exactly what I was looking for. Thanks.

    I installed the plug in and it adds .html to the end of each page URL. No settings, No muss. No fuss.

Topic Closed

This topic has been closed to new replies.

About this Topic