Current File : /home/lifechur/legacy.lifechurchboston.org/.htaccess-wp
Options +FollowSymLinks
# Helpful reference: http://glennmessersmith.com/pages/wphtaccess.html


# URL              = http://lifechurchboston.org/directions.php
# $1               = directions.php
# DOCUMENT_ROOT    = /home/lifechur/lifechurchboston.org
# REQUEST_FILENAME = /home/lifechur/lifechurchboston.org/directions.php
# REQUEST_URI      = /directions.php (example)
# THE_REQUEST      = GET%20/directions.php%20HTTP/1.1




# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

ErrorDocument 404 /missing.html

RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule ^.+\.php$ /bogusfile
Redirect permanent /lifegroups/meetings.shtml http://www.lifechurchboston.org/lifegroups/lifegroups_meeting.html

# We need this line to enable the top and left side menus to work.
AddHandler server-parsed .html

ErrorDocument 404 /missing.html