Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
<? $arUrlRewrite = array( array( "CONDITION" => "#^/hotel/gallery/event/([a-zA-Z0-9\\.\\-_]+)/?.*#", "RULE" => "SECTION_CODE=\$1", "ID" => "", "PATH" => "/hotel/gallery/galery_insde.php", "SORT" => "100", ), array( "CONDITION" => "#^/meropriyatiya/album/([a-zA-Z0-9\\.\\-_]+)/?.*#", "RULE" => "SECTION_CODE=\$1", "ID" => "", "PATH" => "/meropriyatiya/galery_insde.php", "SORT" => "100", ), array( "CONDITION" => "#^/afisha/([a-zA-Z0-9\\.\\-_]+)/?.*#", "RULE" => "ELEMENT_CODE=\$1", "ID" => "", "PATH" => "/afisha/detail.php", "SORT" => "100", ), array( "CONDITION" => "#^/restaurant/restorany/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/restaurant/restorany/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/medtsentr/programmy/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/spa/spa-dni/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/medtsentr/programmy/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/medtsentr/programmy/index.php", ), array( "CONDITION" => "#^/leisure/excursion/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/leisure/excursion/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/leisure/yachting/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/leisure/yachting/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/spa/spa-ritualy/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/spa/spa-ritualy/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/hotel/stati/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/hotel/stati/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/aparts/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/rooms/aparts/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/aparts/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/aparts/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/offers/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/offers/index.php", "SORT" => "100", ), array( "CONDITION" => "#^/rooms/#", "RULE" => "", "ID" => "bitrix:news", "PATH" => "/rooms/index.php", "SORT" => "100", ), ); ?>
.htaccess пуст
Options -Indexes ErrorDocument 404 /404.php <IfModule mod_php5.c> php_flag session.use_trans_sid off php_value display_errors 1 php_value mbstring.internal_encoding UTF-8 php_value mbstring.func_overload 2 php_value register_globals off php_value max_input_vars 10000 </IfModule> <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$ RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L] RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}] RewriteCond %{HTTP_HOST} ^www.aquamarineresort.ru$ [NC] RewriteRule ^(.*)$ http://aquamarineresort.ru/$1 [R=301,L] </IfModule> <IfModule mod_dir.c> DirectoryIndex index.php index.html </IfModule> <IfModule mod_expires.c> ExpiresActive on ExpiresByType image/jpeg "access plus 3 day" ExpiresByType image/gif "access plus 3 day" ExpiresByType image/png "access plus 3 day" ExpiresByType text/css "access plus 3 day" ExpiresByType application/javascript "access plus 3 day" </IfModule> #редиректы со староой структуры сайта Redirect 301 /rooms/169-price http://aquamarineresort.ru/rooms/preyskurant/ Redirect 301 /hotel/beach-aquamarine http://aquamarineresort.ru/leisure/beach-aquamarine/ Redirect 301 /leisure/excursion/677-peshaya-ekskursiya-po-balaklave http://aquamarineresort.ru/leisure/excursion/peshie-progulki-po-vidovym-mestam-v-okruge-sevastopolya/ Redirect 301 /leisure/excursion/671-ekskursiya-lyubimyj-sevastopol http://aquamarineresort.ru/leisure/excursion/lyubimyy-sevastopol/ Redirect 301 /leisure/excursion/673-ekskursiya-krymskaya-vojna http://aquamarineresort.ru/leisure/excursion/krymskaya-voyna/ Redirect 301 /leisure/excursion/672-ekskursiya-vtoraya-mirovaya-vojna http://aquamarineresort.ru/leisure/excursion/vtoraya-mirovaya-voyna/ Redirect 301 /leisure/excursion/674-ekskursiya-slavnyj-bakhchisaraj http://aquamarineresort.ru/leisure/excursion/slavnyy-bakhchisaray/ Redirect 301 /offers/890-paket-uslug-vip-gost http://aquamarineresort.ru/offers/paket-uslug-vip-gost/ Redirect 301 /offers/216-aktsiya-rannee-bronirovanie http://aquamarineresort.ru/offers/rannee-bronirovanie/ Redirect 301 /offers/870-aktsiya-ya-krymchanin-v-otele-kryma-akvamarin http://aquamarineresort.ru/offers/aktsiya-ya-krymchanin/ Redirect 301 /offers/485-aktsiya-plati-menshe-zhivi-dolshe http://aquamarineresort.ru/offers/plati-menshe-zhivi-dolshe/ Redirect 301 /offers/234-programma-loyalnosti http://aquamarineresort.ru/offers/programma-loyalnosti/ Redirect 301 /offers/652-vse-vklucheno http://aquamarineresort.ru/offers/vse-vklyucheno/ Redirect 301 /restaurant/lobby-bar http://aquamarineresort.ru/restaurant/lobby-lounge/ Redirect 301 /restaurant/boarding http://aquamarineresort.ru/restaurant/restorany/abordazh/ Redirect 301 /restaurant/lavanda http://aquamarineresort.ru/restaurant/restorany/lavanda/ Redirect 301 /restaurant/temari http://aquamarineresort.ru/restaurant/restorany/temari/ Redirect 301 /restaurant/madera http://aquamarineresort.ru/restaurant/restorany/madera/ Redirect 301 /hotel/detskaya http://aquamarineresort.ru/detyam/ Redirect 301 /contact/ http://aquamarineresort.ru/hotel/contact RedirectMatch 301 /aquazona/(.*) http://aquamarineresort.ru/spa/bannyy-kompleks/