Forum Moderators: phranque
Options -Indexes
Options +FollowSymLinks
RewriteEngine on
# RSS Redirects
RewriteCond %{QUERY_STRING} ^id=5$
RewriteRule ^index\.php$ /?q=latest-news/feed [L]
RewriteRule ^Business_Aviation.xml$ /?q=taxonomy/term/9/feed [L]
RewriteRule ^Air_Transport_and_cargo.xml$ /?q=taxonomy/term/6/feed [L]
RewriteRule ^Defense.xml$ /?q=taxonomy/term/13/feed [L]
RewriteRule ^Accidents_Safety_Security_and_Training.xml$ /?q=taxonomy/term/1/feed [L]
RewriteRule ^Airports_Heliports_and_FBOs.xml$ /?q=taxonomy/term/7/feed [L]
RewriteRule ^Avionics_and_ATC.xml$ /?q=taxonomy/term/8/feed [L]
RewriteRule ^Cabin_Interior_and_Electronic.xml$ /?q=taxonomy/term/11/feed [L]
RewriteRule ^Charter_and_Fractional.xml$ /?q=taxonomy/term/12/feed [L]
RewriteRule ^Financing_Insurance_and_Taxes.xml$ /?q=taxonomy/term/14/feed [L]
RewriteRule ^General_Aviation.xml$ /?q=taxonomy/term/15/feed [L]
RewriteRule ^Maintenance_and_Modifications.xml$ /?q=taxonomy/term/16/feed [L]
RewriteRule ^People.xml$ /?q=taxonomy/term/17/feed [L]
RewriteRule ^Regulations_and_Government.xml$ /?q=taxonomy/term/19/feed [L]
RewriteRule ^Rotorcraft.xml$ /?q=taxonomy/term/21/feed [L]
# Other redirects
RewriteRule ^news/single-news-page/article/bolen-touts-gas-positive-trade-balance-for-us-31234/$ /?q=node/31234 [L]
# stuff to let through (ignore)
RewriteCond %{REQUEST_URI} "/openx/" [OR]
RewriteCond %{REQUEST_URI} "/typo3/" [OR]
RewriteCond %{REQUEST_URI} "/oa/"
RewriteRule (.*) $1 [L]
# Redirect all user to WWW
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Serve Drupal from sub directory in web root
RewriteRule ^$ drupal/index.php [L]
RewriteCond %{DOCUMENT_ROOT}/drupal%{REQUEST_URI} -f
RewriteRule .* drupal/$0 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* drupal/index.php?q=$0 [QSA]
Is something creating a loop?
# RSS Redirects is followed by a long list of rewrites, not redirects. # Other redirects comment is also an internal rewrite, not an external redirect. Is it meant to be?