WordPress.org

Ready to get started?Download WordPress

Forums

I nedd .htm extensions (4 posts)

  1. WillieO
    Member
    Posted 1 year ago #

    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

  2. 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.

  3. samateo
    Member
    Posted 1 year ago #

    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'

  4. WillieO
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.