Title: I nedd .htm extensions
Last modified: August 20, 2016

---

# I nedd .htm extensions

 *  [WillieO](https://wordpress.org/support/users/willieo/)
 * (@willieo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/i-nedd-htm-extensions/)
 * 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](http://longislandmarine.us/boathauling.htm)
   Any and all feedback is appreciated William

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [13 years, 7 months ago](https://wordpress.org/support/topic/i-nedd-htm-extensions/#post-3118648)
 * > 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](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.
 *  [samateo](https://wordpress.org/support/users/samateo/)
 * (@samateo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/i-nedd-htm-extensions/#post-3118667)
 * As Jan said, **/%postname%.htm** will change the _post_ permalink.
 * In addition, I tested the [.html on Pages](http://wordpress.org/extend/plugins/html-on-pages/installation/)
   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](https://wordpress.org/support/users/willieo/)
 * (@willieo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/i-nedd-htm-extensions/#post-3118811)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [WillieO](https://wordpress.org/support/users/willieo/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/i-nedd-htm-extensions/#post-3118811)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
