Sunday, June 20, 2010

Hide the fact that the web pages are written in PHP

Sometimes you may want to hide the fact of your web site’s written language to visitors then you can do it easily by using .htaccess Say, you have developed your site by using PHP and wanted to show it as ASP then you can do it by using following tricks:

Just add following line in the .htaccess file and place it to application root directory.
AddType application/x-httpd-php .asp
Now everyone have to use all files of the application by using .asp though the application was written in PHP.


  1. Nice stuff! I have added in for my rss feed page. Thanks

  2. Hi,
    Thanks for great post about PHP development services
    The information is outstanding but in years things have really changed.