WebSite X5Help Center

 
MD Kamrul Hassan
MD Kamrul Hassan
User

How to change file extension from html to php?  en

Author: MD Kamrul Hassan
Visited 4102, Followers 1, Shared 0  

In some of my page, i have php code. and if the file extension is html php code is not working..

so, i need to change the file extension to php from html? but how?

i have tried to set file name as "example.php" but software set it as "example.php.html' and that's not working..

so, any help would be highly appreciated..

thanks in advance..

best regards

Posted on the
8 ANSWERS - 1 USEFUL - 1 CORRECT
Der Zwoemti
Der Zwoemti
Moderator

Same window - go to last tab

Press f1 for help

Read more
Posted on the from Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Author

what does that mean.. ? i have read help file already but didn't found anyting special :( that could solve the issue..

Read more
Posted on the from MD Kamrul Hassan
MD Kamrul Hassan
MD Kamrul Hassan
User
Author

and yes in file name format i set "php" but softwae still save as html :( and thus script not works :(

Read more
Posted on the from MD Kamrul Hassan
Incomedia
Claudio D.
Incomedia

Hello,

You need go to in step 2 - Sitemap creation - select the page you wantto change the extension and open the "Page Properties". In the Page Properties window open the "Expert" tab and there you can choose wich extension you want to use like you see in the picture in attachment.

Please let me know if I can help you any further! Thank you!

Read more
Posted on the from Claudio D.
MD Kamrul Hassan
MD Kamrul Hassan
User
Author

thanks a lot for your reply sir..

for your kind information, i have extactly doen that.. :) but still file extension .. is "html" :(

whatever file type i set there (in the screenshot) you shows.. result file extenion is always html :(

any idea?

please sir, leave a reply asap

best regards

Read more
Posted on the from MD Kamrul Hassan
Der Zwoemti
Der Zwoemti
Moderator

Only online is php generated!

Read more
Posted on the from Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Author

???

Read more
Posted on the from MD Kamrul Hassan
MD Kamrul Hassan
MD Kamrul Hassan
User
Author

i see. i m sorry. now i understand. if i export the proejct (to web/disk) only then it change the file extension to php right? i have noticed that..

i was so confued.. because i have changed my wamp server location to preview folder and each page extenson was html thus not working properly..

but now i have understand :)

Read more
Posted on the from MD Kamrul Hassan