Current File : /home/lifechur/test.lifechurchboston.org/.htaccess-wordpress~
# Helpful reference: http://glennmessersmith.com/pages/wphtaccess.html


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




# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /static

# Pass request for index.php directly through.
RewriteRule ^index\.php$ - [L]

# If requested file exists in /static then serve it from there.
RewriteCond %{DOCUMENT_ROOT}/static%{REQUEST_URI} -f
RewriteRule ^(.+)$ /static/$1?=$1 [R,L]

# If file does not exist in /static then pass control to Wordpress index.php
RewriteCond %{DOCUMENT_ROOT}/static%{REQUEST_URI} !-f
RewriteCond %{DOCUMENT_ROOT}/static%{REQUEST_URI} !-d
# Match only 1 character (for efficiency) in request, then pass to Wordpress
RewriteRule . /index2.php [L]
</IfModule>

# END WordPress