.php instead of .html - Post ID 266947

User 2655117 Photo


Registered User
4 posts

I need some help, please. Creating a project called “mail” with WDF will have the following output:
- mail.php, to be placed in root
- Directory “mail” with subdirectories and files included, to be placed in root, too.
- Directory “mail” contains the generated file called “mail.html”, which holds the form itself.

Now I have two issues:
1. For some reasons I need to rename mail.html to mail.php. I tested by changing the name and the source code (iframes) within the code to be included in the project, but that’s not working.
So my first question is, how to setup files in order to rename mail.html to mail.php

2. I need the new renamed “mail.php” to be one level above within root. So first this file has to be renamed, because there is a file mail.php already. So let's call it mail2.php What else has to be adjusted?

Sorry for my poor description, but I hope the idea is clear. Is there anybody who has an idea how to get this working?

Thanks, Kai
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

You'll need to alter the scripts or try using the custom redirect option.
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.