corpsee/corpsee-com/master/www/.htaccess - Htaccess File

corpsee/corpsee-com/master/www/.htaccess

RedirectMatch 301 ^/onetag/(.*)$ /gallery/onetag/$1
RedirectMatch 301 ^/bytag(.*)$   /gallery/bytag

RedirectMatch 301 ^/gallery(.*)$   /

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond  %{HTTP_HOST}        ^www.(.+)$ [NC]
    RewriteRule  ^(.*)$              http://%1%{REQUEST_URI} [R=301,L]

    RewriteCond  %{REQUEST_FILENAME} !-f
    RewriteRule  ^(.*)$               index.php [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI

Comments

Apache