php page not exporting properly
I created a password protected page and gave it a name with .php ending. When I export the page Xara Web Designer changes it to .htm. Once it is exported I have had to change it to .php and then upload it to the server. Do you know what I could be doing wrong?
Thank you!
Re: php page not exporting properly
The first page of your site is always forced to htm/html extension. However, you can set any extension to the following pages. If you only have php pages in your site, simply leave page1 of your design empty, and name page2 "index.php", or as you wish. Also name page one the way you want your files folder to be named, and to not conflict with your real pages. For example "site.htm".
Re: php page not exporting properly
Thank you! I changed index to index.php and then the password protected page works.
Re: php page not exporting properly
I forgot to add that I added an empty first page. Thanks again.