WordPress.org

Ready to get started?Download WordPress

Forums

How to get custom URL format for Pages? (3 posts)

  1. dedhed
    Member
    Posted 5 years ago #

    I've set up my ideal blog page URL format by using the custom format:
    /%post_id%/%postname%.html

    This gives me what I consider the best format for my content, in the form:
    http://www.example.com/76/the-actual-post-title.html

    However, there is no way I can see to get this format on the static Pages. I would like the html fileformat suffix, to maintain continuity, but I can't see an obvious way to do this. For example you can't edit the Permalink format to do this -- the shape is basically excellent but it's not possible to add a .html suffix. The dot is removed and you simply get html appended as part of the URL.

    What I have is for example:
    http://www.example.com/about

    What I want is:
    http://www.example.com/about.html

    What I get, in error, is:
    http://www.example.com/abouthtml

    Any solution please? :)

  2. alainS
    Member
    Posted 5 years ago #

  3. dedhed
    Member
    Posted 5 years ago #

    Excellent, thanks Alain. Perfect job.

Topic Closed

This topic has been closed to new replies.

About this Topic