Forum Moderators: phranque
RewriteCond %{HTTP_HOST} ^delphintherapieweb\.de$
RewriteRule ^(.*)$ http://dolphin-therapy.org/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www\.delphintherapieweb\.de$
RewriteRule ^(.*)$ http://dolphin-therapy.org/$1 [L,R=301]
RewriteCond %{HTTP_HOST} !^dolphin-therapy\.org$
RewriteRule ^(.*)$ http://dolphin-therapy.org/$1 [L,R=301] RewriteCond %{HTTP_HOST} !^dolphin-therapy\.org$
RewriteRule ^(.*)$ http://dolphin-therapy.org/blog/$1 [L,R=301] www.dolphin-therapy.org/blog dolphin-therapy.org/blog//kunden/homepages/15/d262578252/htdocs/dolphin-therapy/blog
www.dolphin-therapy.org/blog/ RewriteEngine on
# Redirection of the most important indexed Joomla pages
RewriteCond %{query_STRING} option=com_content&task=view&id=16&Itemid=277&lang=english
RewriteRule ^index\.php$ http://dolphin-therapy.org/en/dolphin-therapy/dolphin-assisted-therapy-concept? [R=301,L]
[... here comes ~80 single redirects but all in the same style]
RewriteCond %{query_STRING} option=com_content&task=view&id=100&Itemid=127&lang=Italian
RewriteRule ^index\.php$ http://dolphin-therapy.org/it/terapia-con-i-delfini/in-generale? [R=301,L]
# General language redirection if pages above was not found
RewriteCond %{query_STRING} lang=english
RewriteRule ^index\.php$ http://dolphin-therapy.org/en? [R=301,L]
[... here comes 6 more language redirects in the same style]
RewriteCond %{query_STRING} lang=Russian
RewriteRule ^index\.php$ http://dolphin-therapy.org/ru? [R=301,L]
# General redirection if nothing above found
RewriteCond %{query_STRING} option
RewriteRule ^index\.php$ http://dolphin-therapy.org? [R=301,L]
RewriteCond %{HTTP_HOST} ^(www\.)?delphintherapieweb\.de
RewriteRule ^ http://dolphin-therapy.org/ [R=301,L]
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^dolphin-therapy\.org$
RewriteRule ^(.*)$ http://dolphin-therapy.org/$1 [L,R=301]
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
########## Begin - Joomla! core SEF Section
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
########## End - Joomla! core SEF Section <IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(dolphin-therapy\.org)?$
RewriteRule ^(.*)$ http://dolphin-therapy.org/blog/$1 [L,R=301]
# BEGIN WordPress
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress RewriteCond %{HTTP_HOST} !^dolphin-therapy\.org$
RewriteRule ^(.*)$ http://dolphin-therapy.org/blog/$1 [L,R=301] http://www.dolphin-therapy.org/blog
http://dolphin-therapy.org/blog//kunden/homepages/15/d262578252/htdocs/dolphin-therapy/blog