• I have a site that is doing rather well in the SERPS and am concerned about losing that hard earned ranking when I migrate it to a wordpress. Is it possible to have the pages end with the .htm extension rather than a .php extension. I know it sounds trivial but the site works well it just doesn’t render well on mobile devices etc. and I neeed to lose the Flash.
    Here’s an example from the site.
    http://longislandmarine.us/boathauling.htm
    Any and all feedback is appreciated
    William

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Is it possible to have the pages end with the .htm extension rather than a .php extension.

    You almost certainly could keep the same boathauling.htm as long as the post slug is preserved when you make the migration.

    As an example, the post slug for that URL would be boathauling and the permalink settings for your WordPress installation would be /%postname%.htm which I’ve just tried. It works fine.

    See this codex article for a lengthy discussion on the topic.

    http://codex.wordpress.org/Using_Permalinks

    I have a site that is doing rather well in the SERPS and am concerned about losing that hard earned ranking when I migrate it to a wordpress.

    You could do this and there is nothing wrong with that. But keeping your old links via http 301 redirects to send reads to the new URLs is not hard to setup.

    When you use 301 redirects that way there is no search engine penalty and eventually the search engines will send users to the new URLs.

    As Jan said, /%postname%.htm will change the post permalink.

    In addition, I tested the .html on Pages plugin and although it has not been updated in over two years (according to the site) it worked with 3.4.2 and added .html to my page urls. You can change the extension it uses by renaming the five references in plugin file html-on-pages.php from ‘.html’ with ‘.htm’

    Thread Starter WillieO

    (@willieo)

    Thank You both
    The ‘html for pages was the ticket for me. The site s going to be moved and be almost completely static static pages. Thanks Samateo for the insight into changing the file as it worked perfectly

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I nedd .htm extensions’ is closed to new replies.