WebSite X5Help Center

 
MD Kamrul Hassan
MD Kamrul Hassan
User

How to change file extension from html to php?  en

Autor: MD Kamrul Hassan
Visited 4088, Followers 1, Udostępniony 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 ODPOWIEDZI - 1 POMOCNY - 1 PRAWIDłOWA ODPOWIEDź
Der Zwoemti
Der Zwoemti
Moderator

Same window - go to last tab

Press f1 for help

Czytaj więcej
Posted on the from Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Autor

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

Czytaj więcej
Posted on the from MD Kamrul Hassan
MD Kamrul Hassan
MD Kamrul Hassan
User
Autor

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

Czytaj więcej
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!

Czytaj więcej
Posted on the from Claudio D.
MD Kamrul Hassan
MD Kamrul Hassan
User
Autor

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

Czytaj więcej
Posted on the from MD Kamrul Hassan
Der Zwoemti
Der Zwoemti
Moderator

Only online is php generated!

Czytaj więcej
Posted on the from Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Autor

???

Czytaj więcej
Posted on the from MD Kamrul Hassan
MD Kamrul Hassan
MD Kamrul Hassan
User
Autor

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 :)

Czytaj więcej
Posted on the from MD Kamrul Hassan