How to show .php files like .html files?

Started on the old forum in December 2009 · view the original in the archive · old links redirect here

#index.php-.htacces

14 replies · 1,534 views · started 16 years ago · 1 min read

9 participants
subzero Super moderator Fellow · 3,954 posts #5

Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^(.*).html$ $1.php [L]

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Ponick Developer · 216 posts #6

I dont under stand what do u want. . . I have changed my php site look like a jsp site. Here . .click to see 8)

/* I don't know everything hehe */

Find me on facebook

Ponick Developer · 216 posts #8

Then why u wanna this.! Just code your html in php script 8)

/* I don't know everything hehe */

Find me on facebook

wap2k Developer · 168 posts #11

Do you mean like so.

index.php show up as index.html in the address bar but still be parsed as a php application.

or

Show your site with color ect with mobile html ?

manavworld Developer · 118 posts #12

See what subzero post there for .htaccess file

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close