htaccess

From WebHostingNeeds.com
Jump to: navigation, search


Create virtual Page using .htaccess file

RewriteEngine On
RewriteRule ^non_existent_page.html /index.php

If mod_rewrite is enabled on your server, when you go to the page

http://yourdomain/non_existent_page.html

You will see the content of page index.php



apache