HTM vs HTML - Post ID 267451

User 2798713 Photo


Registered User
16 posts

Hi need to make sure that the pages created in RSD can still be linked to successfully with some legacy software. So I'm re-using the old page names. The problem is that the old pages all end with .htm and the new RSD pages all end in .html. Is there a way for RSD to save the new pages as .htm instead?
User 103173 Photo


VP of Software Development
0 posts

All pages in RSD are saved with an HTML extension. What you can do there is create an .htaccess file on your server and redirect the old page name to the new ones.

Redirect 301 /index.htm /index.html

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2798713 Photo


Registered User
16 posts

Thanks Scott!

So I would need to list every page individually? I couldn't just globally tell the system to look for the linked file, and if that fails, then look for the same file with a different extension?
User 103173 Photo


VP of Software Development
0 posts

You could use mod_rewrite:

RewriteEngine on
RewriteBase /
RewriteRule ^(.*)\.htm$ $1.html [R=permanent]
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2798713 Photo


Registered User
16 posts

Great! Thanks for the tip!
User 1869666 Photo


Registered User
229 posts

Could you go into the server with FTP and change the html files to htm? That's what I've done and it's working, at least in my prototype.
User 122279 Photo


Senior Advisor
14,652 posts
Online Now

You probably could, but it is such a hassle compared with just editing your .htaccess file.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 1869666 Photo


Registered User
229 posts

Yes, a major hassle for a large site but doable for a small site.
User 10077 Photo


Senior Advisor
1,096 posts

Be aware that some servers do not use standard .htaccess. GoDaddy is one of them depending on which hosting plan you have. If what you see above doesn't work, check with your hosting provider.
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.