Rename index.html to index.php

User 2736027 Photo


Registered User
68 posts

Is there a way to rename index.html to index.php, in the program page settings? I can't find any of the preferences or page dialogues to do this.

I have some javascript running on my home page (index.html) displaying a batch of photos in a slideshow (Thanks Eric). The home page needs to be renamed to index.php for the slideshow to run. If I publish to my web site, and later rename the home page to index.php manually on the web server, then all of the other web pages which have a link back to the home page want to link to the original index.html page, which is now missing.

I'd like to be able to find a way to rename the home page to index.php right from the start, so that the other web pages could find, and select it, from the link drop-down menu.
User 103173 Photo


VP of Software Development
0 posts

Hey Norm,

Did you know VSD has been discontinued? There will be no further updates to VSD and all support ended on January 1, 2016. Instead, Check out Responsive Site Designer!

As to your question, this would have to be done after you export by renaming all files from .HTML to .PHP.


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 187934 Photo


Senior Advisor
20,181 posts

Norm, There's a few ways to go about this but what I would do is change the name of your index.html to index.php then add a blank page named index.html to your site with a forwarding script on it to send any page linked to it to the new index.php.
<script>
window.location.replace("http://mydomain.com/index.php");
</script>
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 2736027 Photo


Registered User
68 posts

Genius!!

I just tried it out, and it works perfectly. Thanks Eric, a great work-around.

Norm
User 187934 Photo


Senior Advisor
20,181 posts

Great, Have you given RSD a try yet? Sites really need to be responsive to give all users an equal opportunity.
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 2736027 Photo


Registered User
68 posts

No, I haven't.

I maintain a simple web site for a non-profit hobby club, whose members are mainly gray haired "mature" folk, who in some cases can barely do email. Okay, I exaggerate slightly, but our needs are fairly simple, and money is scarce. Very few even have an iPad, and Smart phones have them baffled. Sometimes simpler, is better. We already hear comments about the "difficulty" in navigating to various pages, so that should give you a clue.

I'm sure the day will come when we can get younger members to join us, at which time I'll be more than happy to recruit a younger web master to hand over controls.

Thanks again for your continued "interventions".

Norm

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.