Exporting php paages - Post ID 276417

User 2642157 Photo


Registered User
12 posts

I'm working on converting an existing website which was built in html and php, to have responsive pages. Most of my pages are .php pages. However, when I export what i have built in responsive site designer, instead of page.php, I end up getting page.php.html for the pages built in rsd. My references to page names in linking the pages are just to go to page.php. Do I need to rename all my pages to drop the .html once I ftp the file to the server? Am I missing something in the export to indicate that html should not be added to the page name? Appreciate any insight. Thanks
User 187934 Photo


Senior Advisor
20,271 posts

Hi Craig,
I had the same thing. I named may pages mypagename.php in RSD. RSD automatically adds the .html extension so you end up with mypagename.php.html. I remove the .html with the HTML editor after export then ftp it to the server.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 53435 Photo


Registered User
79 posts

Create them all with the .html extension and add a .htaccess file to your site to parse .html files with the php interpreter.
User 187934 Photo


Senior Advisor
20,271 posts

Geoff Swan wrote:
Create them all with the .html extension and add a .htaccess file to your site to parse .html files with the php interpreter.

I do that also. It all depends on what I'm doing on which way I go.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

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.