htaccess

From WebHostingNeeds.com
Revision as of 06:37, 10 January 2017 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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