netlovers Posted December 2, 2006 Share Posted December 2, 2006 HiI have seen many websites using phpbb forum or coppermine photo gallery but all of the pages of phpbb or coppermine are in .html.So i wanna know how can i change my php pages of coppermine or any other script to html.Bye Quote Link to comment Share on other sites More sharing options...
Hypnos Posted December 2, 2006 Share Posted December 2, 2006 Sounds like you're describing mod_rewrite for Apache. The real pages are still .php. The webserver translates the more friendly urls to point to, and pass information to, your scripts. Quote Link to comment Share on other sites More sharing options...
Psycho Posted December 2, 2006 Share Posted December 2, 2006 Not exactly sure what you mean. If you meant that the pages you receive have html code, then that is correct behavior. The PHP code is used to create the html that the browser receives.If you mean that the files names in the browser end in an .html extension, then that may also be done by configuring the server to process files with that extension as php files.You cannot implement phpbb (or any other PHP CMS) with flat html files. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.