stevengrimaldo/ambientcommunities/master/old/.htaccess - Htaccess File

stevengrimaldo/ambientcommunities/master/old/.htaccess

# Use PHP54 as default
AddHandler application/x-httpd-php54 .php

RewriteEngine on

# 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

# 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} ^ambientcommunities.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.ambientcommunities.com$
RewriteRule ^/?$ "http://www.ambientcommunities.com/192-2/" [R=301,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache