.htaccess - Redirect all page requests to one page -
I need to redirect all page requests (PHP, if that case) to a specific page on a specific domain (again From, php) on that domain I am looking for a .htaccess, mod_rewrite solution for easy implementation.
Try this rule:
Rewrite $ 1! = Index.php Rewrite. + \. Php $ index.php [L]
It will redirect all requests that end in the URL path .php
in index.php as the .htaccess file in the same directory.
Comments
Post a Comment