Помогите с Joomla

123
AlexRas
На сайте с 11.02.2009
Offline
77
#11

Там настраивать вобщем то нечего. У вас какая версия джумлы? Если 1.0, то просто замените содежимое .htaccess этим:

##

# @version $Id: htaccess.txt 5973 2006-12-11 01:26:33Z robs $
# @package Joomla
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
# 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.
#
# Only use one of the two SEF sections that follow. Lines that can be uncommented
# (and thus used) have only one #. Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
# For Standard SEF, use the standard SEF section. You can comment out
# all of the RewriteCond lines and reduce your server's load if you
# don't have directories in your root named 'component' or 'content'
#
# If you are using a 3rd Party SEF or the Core SEF solution
# uncomment all of the lines in the '3rd Party or Core SEF' section
#
#####################################################

##### SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
# SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented. If you are running your Joomla!/Mambo from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line. For example, if your Joomla!/Mambo is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On


# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla!/MamboDirectory (just / for root)

# RewriteBase /


########## Начало раздела стандартного SEF
########## Используйте эту секцию ТОЛЬКО для работы встроенного SEF Joomla
## ВСЕ (RewriteCond) строки в этой секции необходимы только если
## на вашем сервере имеются каталоги с названиями 'content' или 'component'
## Если каталоги с такими названиями отсутствуют, то закомментируйте эти строки.
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##опционально - смотрите примечания##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## Конец раздела стандартного SEF



########## Начало раздела SEF сторонних разработчиков или Core SEF
########## Используйте этот раздел, если вы используете SEF-расширения типа OpenSEF, 404_SEF, 404SEFx, JoomSEF, SEF Advance и т.д.
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##опционально - смотрите примечания##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## Конец раздела SEF сторонних разработчиков или Core SEFtion



########## 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 set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%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})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

Может быть и для 1.5 подойдёт. Сейчас смотреть просто некогда.

immo
На сайте с 10.04.2010
Offline
168
#12

AlexRas, У меня 1,5. Не подошло, всёравно /index.php/component/content/article/1-admin.html

Продвижение коммерческих сайтов в МСК от 16 т.р. Гарантии и отзывы. Опыт более 11 лет. WebGard.ru
Zapata
На сайте с 15.07.2008
Offline
81
#13
Установил я модуль Artio JoomSEF и сайт тутже перестал работать.

Поставь компонент sef404 - он, реально проще и меньше глючит

immo
На сайте с 10.04.2010
Offline
168
#14

Zapata, При установке пишет "Вам необходимо включить Режим совместимости (Legacy Mode). Для этого необходимо опубликовать системный мамбот Legacy."

Где включить этот режим? что такое мамбот Legacy?

M5
На сайте с 12.08.2009
Offline
221
M25
#15

в плагинах смотрите

► Рейтинг серверов — ТОП10 ◄
Zapata
На сайте с 15.07.2008
Offline
81
#16

Legacy mode - это поддержка расширений для предыдущих версий Joomla. Включить можно в Менеджере плагинов - System - Legacy

РР
На сайте с 06.12.2008
Offline
90
#17

у меня такая же проблема

включил SEF, переименовал htaccess в .htaccess

и стало выводить component/content/, но без индекс.пхп перед ними как у автора

но раньше записывал ту же самую версию джумлы и делал все тоже самое и было все нормально

Marmelad
На сайте с 07.05.2010
Offline
62
#18

В свое время ставил sh404SEF - сначала долго не мог разобраться, но все же осилил сам.

Надо просто по гуглить и форум поюзать

Продвижение сайтов от 10.000 руб/мес. (http://e-atom.ru/)
AlexRas
На сайте с 11.02.2009
Offline
77
#19
immo:
AlexRas, У меня 1,5. Не подошло, всёравно /index.php/component/content/article/1-admin.html

А что вы ещё делали кроме настройки .htaccess? Нужно включить чпу в общих настройках сайта, включить сам компонент, настроить компонент. Как всё делать здесь можно почитать:

http://joomlaforum.ru/index.php?PHPSESSID=af6d7011be88efbd84f75eaa6527ede4&board=108.0

http://joomlaforum.ru/index.php/topic,36673.0.html

immo
На сайте с 10.04.2010
Offline
168
#20

Сделал всё как написано тут, но всёравно /component/content/article/1-admin.html

123

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий