WebSite X5Help Center

 
MD Kamrul Hassan
MD Kamrul Hassan
User

How to change file extension from html to php?  en

Autor: MD Kamrul Hassan
Besucht 4085, Followers 1, Geteilt 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

Gepostet am
8 ANTWORTEN - 1 NüTZLICH - 1 KORREKT
Der Zwoemti
Der Zwoemti
Moderator

Same window - go to last tab

Press f1 for help

Mehr lesen
Gepostet am von 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..

Mehr lesen
Gepostet am von 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 :(

Mehr lesen
Gepostet am von 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!

Mehr lesen
Gepostet am von 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

Mehr lesen
Gepostet am von MD Kamrul Hassan
Der Zwoemti
Der Zwoemti
Moderator

Only online is php generated!

Mehr lesen
Gepostet am von Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Autor

???

Mehr lesen
Gepostet am von 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 :)

Mehr lesen
Gepostet am von MD Kamrul Hassan