WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. cwalton
    Member
    Posted 4 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?

    Thanks.

  2. techooze
    Member
    Posted 4 years ago #

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

    for pages use this plugin

    http://wordpress.org/extend/plugins/html-on-pages/

  3. cwalton
    Member
    Posted 4 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