од корена (аллфреецхипс.цом)
Code:
<Files ~ "\.inc$">
Order allow,deny
Deny from all
Satisfy All
</Files>
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
#Those rules have to be in domain main folder
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ index.php?language=$1&vbet_outside=true [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]
RewriteCond %{HTTP_HOST} ^allfreechips\.com
RewriteRule (.*) http://www.allfreechips.com/$1 [R=301,L]
redirect 301 /casino_review/gold-rock-casino.html http://www.allfreechips.com/casino_review/500/21-grand-casino.html
RewriteRule [.]*play_casino([0-9]*) cportal/tclick.php?%{QUERY_STRING}&id=$1
RewriteRule [.]*play_banner([0-9]*) cportal/tclick.php?%{QUERY_STRING}&id=$1
RewriteRule [.]*casino_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
RewriteRule [.]*bingo_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
RewriteRule [.]*poker_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
RewriteRule [.]*skill_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
RewriteRule [.]*-afcinfo([0-9]*) info.php?%{QUERY_STRING}&id=$1
RewriteRule [.]*-resources([0-9]*) links.php?%{QUERY_STRING}&id=$1
RewriteRule [.]*game_review/([0-9]*) casino_guide/games?id=%{QUERY_STRING}&id=$1
RewriteRule [.]*casino_guide/([a-z0-9-]*) index.php?%{QUERY_STRING}&pageid=$1
RewriteRule [.]*poker_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
RewriteRule [.]*afc_contests/([a-z]*) index.php?%{QUERY_STRING}&pageid=$1
RewriteRule [.]*skill_games_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
RewriteRule [.]*bingo_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
RewriteRule [.]*skill_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
RewriteRule [.]*casino-banks/([a-z0-9-]*) casino_guide/binfo?id=%{QUERY_STRING}&id=$1
RewriteRule [.]*casino-banking/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
RewriteRule [.]*casino_test/([0-9]*) casino_guide/info2?id=%{QUERY_STRING}&id=$1
RewriteRule [.]404.html /404-error-page.php
#This rule must be in each directory which have to be supported (without forum directory itself)
RewriteCond %{QUERY_STRING} !vbet_outside=true
RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]