WebSite X5Help Center

 
MD Kamrul Hassan
MD Kamrul Hassan
User

How to change file extension from html to php?  en

Auteur : MD Kamrul Hassan
Visité 4084, Followers 1, Partagé 0  
Mots-clés :: file,textension

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

Posté le
8 RéPONSES - 1 UTILES - 1 CORRECT
Der Zwoemti
Der Zwoemti
Moderator

Same window - go to last tab

Press f1 for help

Lire plus
Posté le de Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Auteur

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

Lire plus
Posté le de MD Kamrul Hassan
MD Kamrul Hassan
MD Kamrul Hassan
User
Auteur

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

Lire plus
Posté le de 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!

Lire plus
Posté le de Claudio D.
MD Kamrul Hassan
MD Kamrul Hassan
User
Auteur

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

Lire plus
Posté le de MD Kamrul Hassan
Der Zwoemti
Der Zwoemti
Moderator

Only online is php generated!

Lire plus
Posté le de Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Auteur

???

Lire plus
Posté le de MD Kamrul Hassan
MD Kamrul Hassan
MD Kamrul Hassan
User
Auteur

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

Lire plus
Posté le de MD Kamrul Hassan