Керування файлами cookie, які використовуються для реклами, таких як персоналізація реклами, ремаркетинг і аналіз ефективності реклами.
|
allazov111
26.11.2013 10:48
0
|
Добрый день, заказал установку Joomla 2.5 с помощью Ваших сервисов. Хочу решить такую проблему, Все урлы идут с index.php.
Пример *****.com/index.php/otdykh-v-primorsko-akhtarske И так на всех урлах сайта! Как убрать index.php? Спасибо! |
|
Евгений В.
26.11.2013 10:54
0
|
Попробуйте в файл .htaccess , который находится в папке имявашегосайта.com/www вставить следующее содержимое:
Options +SymLinksIfOwnerMatch RewriteEngine On RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR] RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} GLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(=|[|\%[0-9A-Z]{0,2}) RewriteRule .* index.php [F] RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} /component/|(/[^.]*|.(php|html?|feed|pdf|vcf|raw))$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php [L] |
|
allazov111
26.11.2013 11:18
0
|
Сделал не помогло
Вот содержимое файла .htaccess ## # @package Joomla # @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved. # @license GNU General Public License version 2 or later; see LICENSE.txt ## ## # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE! # # The line just below this section: 'Options +SymLinksIfOwnerMatch' may cause problems # with some server configurations. It is required for use of mod_rewrite, but may already # be set by your server administrator in a way that dissallows changing it in # your .htaccess file. If using it causes your server to error out, comment it out (add # to # beginning of line), reload your site in your browser and test your sef url's. If they work, # it has been set by your server administrator and you do not need it set here. ## ## Can be commented out if causes errors, see notes above. Options +SymLinksIfOwnerMatch RewriteEngine On RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR] RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} GLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(=|[|\%[0-9A-Z]{0,2}) RewriteRule .* index.php [F] RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} /component/|(/[^.]*|.(php|html?|feed|pdf|vcf|raw))$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php [L] |
|
Евгений В.
26.11.2013 11:29
0
|
Уточните пожалуйста адрес проблемного сайта.
|
|
allazov111
26.11.2013 11:33
0
|
allazov.com
|
|
sonicua
26.11.2013 12:06
1
|
Убедитесь, что в настройках пункт "Перенаправление URL" стоит в "Да"
cdn.adm.tools/forum_message/0221/88/Untitled-1.png |
Тема закрита.