Htaccess File

monocromatico/dpisi/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
RewriteCond %{HTTP_HOST} ^dpisi.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.dpisi.com$
RewriteRule ^mail$ "http://www.dpisi.com:2095/login/" [R=301,L]

RewriteCond %{HTTP_HOST} ^dpisi.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.dpisi.com$
RewriteRule ^email$ "http://www.dpisi.com:2095/login/" [R=301,L]
Exit mobile version