Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other need to display wordpress pages with a .htm extention

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24640
    mattvot
    Member

    WordPress displays its pages in a permilink structure of your choosing.

    For example
    http://www.website.com/about/

    Is there a way for me to display it as
    http://www.website.com/about.htm

    I changed the structure to
    /%year%/%monthnum%/%postname%.htm

    But that brought out
    http://www.website.com/about

    Not
    http://www.website.com/about.htm
    which is what I need

    I am pretty sure there will not be a plugin for this. Would I have to do something to the core files, .htaccess, the structure?

    Thanks

    #56602
    chazzwick
    Member

    im pretty sure this isnt possible, as wordpress is built using php, so requires all files to end .php.

    Why do you want a page to end .htm anyway?

    #56606
    TheDoc
    Member

    I’m pretty sure it’s possible, though I’m not sure how it’s accomplished (we have developers at work to do that sort of thing ;) ).

    Here’s what a quick search brings up:

    http://www.webmasterworld.com/forum88/945.htm

    #56617
    mattvot
    Member

    @chazzwick

    It’s for a client who wants to convert a site to wordpress, but retain the same urls and does not want to use redirects.


    @TheDoc

    Thanks, I’ll take a look at this.


    @box

    Yeh, I’m pretty sure you can do it too. I don’t think turning the template files to htm will work though.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.