Управление файлами cookie, которые используются для рекламы, таких как персонализация рекламы, ремаркетинг и анализ эффективности рекламы.
|
dezoleg
28.05.2017 17:27
0
|
Помогите никак не лечитться редирект выдает 404
#Options +FollowSymLinks RewriteEngine On ## Begin - Joomla! core SEF Section. # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # # If the requested path and file is not /index.php and the request # has not already been internally rewritten to the index.php script RewriteCond %{REQUEST_URI} !^/index\.php # and the requested path and file doesn't directly match a physical file RewriteCond %{REQUEST_FILENAME} !-f # and the requested path and file doesn't directly match a physical folder RewriteCond %{REQUEST_FILENAME} !-d # internally rewrite the request to the index.php script RewriteRule .* index.php [L] # ## End - Joomla! core SEF Section. REDIRECTMATCH 301 (.*)\.html$ 24studio.kiev.ua$1 #RewriteBase / #RewriteRule (.*)\.html$ $1 [R=301,L] #RewriteRule (.*)\.html$ 24studio.kiev.ua/$1 [R=301,L] #RewriteRule (.*)\.html$ $1 [R=301,L] |
|
Сергей М.
29.05.2017 09:03
2
|
Чтобы подобные правила работали расширение html нужно удалить в разделе "Хостинг - Мои сайты - Настройка сайта - Статические файлы"
Также все запросы с помощью правила RewriteRule .* index.php [L] передаются на index.php поэтому правила редиректа лучше разместить сразу после RewriteEngine On |
Тема закрыта.