Posts redirect any request to specific file with htaccess
Post
Cancel

redirect any request to specific file with htaccess

create a file .htaccess to root

1
2
RewriteEngine on
RewriteRule .* index.php [NC,L]

ref: http://stackoverflow.com/questions/10740635/rewriterule-index-php-nc-l http://stackoverflow.com/questions/2439562/apache-rewriterule-index-php-nc-l-not-working

origin - http://www.pipiscrew.com/?p=6163 redirect-any-request-to-specific-file-with-htaccess

This post is licensed under CC BY 4.0 by the author.
Contents

Trending Tags