0 Пользователей и 1 Гость просматривают эту тему.
  • 6 Ответов
  • 1160 Просмотров
*

dimons

  • Новичок
  • 7
  • 0 / 0
Здравствуйте! Второй день бьюсь и никакого результата. У меня страница ошибки переадресовывается на главную, а мне нужно на страницу как положено 404. Перебровал все возможное и не возможное. Мой сайт домен.ru, переадресация на домен.ru/index.php. Вроде давно (взял с другого сайта) прописал где то код(уже не помню), что бы убрать index/php. Помогите пожалуйста советом. Если можно, обьясните попроще.Спасибо
*

voland

  • Легенда
  • 11030
  • 588 / 112
  • Эта строка съедает место на вашем мониторе
Надо куда-то залезть, что проверить и где-то поправить.
*

vipiusss

  • Гуру
  • 5739
  • 344 / 11
  • Скайп: renor_
Надо куда-то залезть, что проверить и где-то поправить.
там нычка есть у volanda .... туда всякие мани, и он сразу такой, какой нужен...а так пока просто сарказм.

http://joomlaforum.ru/index.php/topic,318552.msg1586764.html#msg1586764
посмотрите тему, может что подумаете для себя.
Миграция, установка, обновление версий Joomla  |  Создание сайтов "под ключ"  |  Эксклюзивные заглушки "offline"  |  Работа с "напильником" над шаблонами и расширениями
*

voland

  • Легенда
  • 11030
  • 588 / 112
  • Эта строка съедает место на вашем мониторе
там нычка есть у volanda .... туда всякие мани, и он сразу такой, какой нужен...а так пока просто сарказм.

http://joomlaforum.ru/index.php/topic,318552.msg1586764.html#msg1586764
посмотрите тему, может что подумаете для себя.
То есть только я ослеп и не вижу ни версий, ни что установлено, ни откуда что скачано?
*

vipiusss

  • Гуру
  • 5739
  • 344 / 11
  • Скайп: renor_
тю, я тебе 6000 ловлю, а ты флеймы не ловишь. *DRINK*

Миграция, установка, обновление версий Joomla  |  Создание сайтов "под ключ"  |  Эксклюзивные заглушки "offline"  |  Работа с "напильником" над шаблонами и расширениями
*

dimons

  • Новичок
  • 7
  • 0 / 0
Спасибо что ответили. Сайт на локалки. А это демо шаблон http://demo.rockettheme.com/joomla-templates/alerion/
*

dimons

  • Новичок
  • 7
  • 0 / 0
Это файл .htaccess

Код
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2014 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 +FollowSymLinks' 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.
 
## Mod_rewrite in use.
 
 
RewriteEngine On
 
 
## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
 
#
## End - Rewrite rules to block out some common exploits.
 
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects
 
##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
 
# RewriteBase /
 
## 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.
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Проблема с 404 страницей

Автор prog5

Ответов: 4
Просмотров: 577
Последний ответ 20.03.2024, 13:16:30
от sivers
Проблема вебвизором в Яндекс метрике при использовании плагина jch optimize

Автор polezniy

Ответов: 32
Просмотров: 2757
Последний ответ 01.03.2024, 10:26:31
от Vastriet
Как определить главную страницу без меню?

Автор d0ublezer0

Ответов: 4
Просмотров: 933
Последний ответ 23.03.2023, 13:26:57
от gen2023
Проблема с кэшем сайта - приходится дважды обновлять страницу

Автор LuNa82

Ответов: 8
Просмотров: 595
Последний ответ 22.02.2023, 12:26:36
от sivers
Проблема с адаптацией сайта для мобильной версии

Автор chen

Ответов: 0
Просмотров: 433
Последний ответ 24.01.2023, 10:21:23
от chen