arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making .html like .php
#11
There are some reasons to do that, as mentioned here:
https://encodable.com/parse_html_files_as_php/

However, you should take a look at this "performance consideration": http://stackoverflow.com/questions/71818...tml-as-php

Remember, you can change the file extension on the view of users/browsers' address with Apache mod_rewrite
RewriteEngine on
RewriteRule ^(.*)\.html$ $1.php [nc]

So when you access a html-static-look-alike: http://example.com/forum.html, you can't realize you are accessing a PHP app: http://example.com/forum.php
VIP Linux VPS 2$/month (25$/year 60$/2 years)
1 GB RAM 20 GB Storage 500 GB Bandwidth(50Mbit) 1 core 1 IPv4 1 IPv6
facebook.com/SnoOpyMinhThang
snoopy-xserver.com


Messages In This Thread
Making .html like .php - by azureweb - 01-06-2016, 08:38 PM
RE: Making .html like .php - by RickB - 01-07-2016, 10:22 AM
RE: Making .html like .php - by Han105 - 01-07-2016, 01:08 PM
RE: Making .html like .php - by azureweb - 01-07-2016, 01:11 PM
RE: Making .html like .php - by Mr.Monkey - 01-08-2016, 01:26 AM
RE: Making .html like .php - by azureweb - 01-08-2016, 01:39 PM
RE: Making .html like .php - by RickB - 01-08-2016, 04:01 PM
RE: Making .html like .php - by Conan - 01-09-2016, 04:06 AM
RE: Making .html like .php - by azureweb - 01-09-2016, 02:34 PM
RE: Making .html like .php - by Unixfy - 01-09-2016, 11:38 PM
RE: Making .html like .php - by SnoOpy - 01-11-2016, 04:38 AM
RE: Making .html like .php - by Littlemaster - 01-30-2016, 11:24 AM
RE: Making .html like .php - by tbelldesignco - 09-20-2020, 07:39 PM

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting