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

dimat84

  • Давно я тут
  • 517
  • 20 / 0
Здравствуйте,  у меня на сайте установлен компонент собипро, проблема в том что если в меню созданном SOBI2 посетитель на сайте хочет отредактировать свою добавленную запись то он не сможет её сохранить если включено "Перенаправление URL". Без "Перенаправление URL" везде добавляется index.php в середине адреса.
Можно например как-то отдельно это меню оставить без "Перенаправление URL"?
И вообще сильно-ли мешает этот index.php оптимизации-продвижению сайта?
« Последнее редактирование: 30.06.2014, 17:32:12 от b2z »
*

b2z

  • Глобальный модератор
  • 7290
  • 778 / 0
  • Разраблю понемногу
Re: Не работает без index.php
« Ответ #1 : 30.06.2014, 16:11:20 »
Похоже на баг в SOBI2. Только подробнее - что значит "не сможет её сохранить" ?
*

dimat84

  • Давно я тут
  • 517
  • 20 / 0
Re: Не работает без index.php
« Ответ #2 : 30.06.2014, 16:13:50 »
SobiPro.
Просто при нажатии на кнопку "сохранить запись" ничего не происходит
*

b2z

  • Глобальный модератор
  • 7290
  • 778 / 0
  • Разраблю понемногу
Re: Не работает без index.php
« Ответ #3 : 30.06.2014, 16:14:20 »
SobiPro.
Просто при нажатии на кнопку "сохранить запись" ничего не происходит
Хмм, а при этом ошибок JS не возникает?
*

dimat84

  • Давно я тут
  • 517
  • 20 / 0
Re: Не работает без index.php
« Ответ #4 : 30.06.2014, 16:20:25 »
нет, вообще тишина. На их форуме мне написали
Цитировать
"Вы получаете html-301 moved permanently ответ, когда нажимаете кнопку сохранить  на странице ввода " редактировать "
Цитировать
You get HTML 301 moved permanently response when save entry button is clicked on edit entry page
Вот думаю как-то вручную везде сделать перенаправление а в том меню оставить как есть.
*

b2z

  • Глобальный модератор
  • 7290
  • 778 / 0
  • Разраблю понемногу
Re: Не работает без index.php
« Ответ #5 : 30.06.2014, 16:22:12 »
нет, вообще тишина. На их форуме мне написали Вот думаю как-то вручную везде сделать перенаправление а в том меню оставить как есть.
То есть они считают, что это нормально?
*

dimat84

  • Давно я тут
  • 517
  • 20 / 0
Re: Не работает без index.php
« Ответ #6 : 30.06.2014, 16:30:25 »
Не знаю, может чё подскажут, но мне тяжело общаться на английском )))) Может быть что это из-за моего .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.
Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.xn----8sbadhec1bwwbea1a0b9j\.xn--p1ai$ [NC]
RewriteRule ^(.*)$ http://xn----8sbadhec1bwwbea1a0b9j.xn--p1ai/$1 [R=301,L]

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://xn----8sbadhec1bwwbea1a0b9j.xn--p1ai/ [R=301,L]

## 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 request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# 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.


AddDefaultCharset UTF-8
*

dimat84

  • Давно я тут
  • 517
  • 20 / 0
Re: Не работает без index.php
« Ответ #7 : 30.06.2014, 17:07:17 »
Понял в чём проблема, в файле .htaccess я когда-то добавлял строчку
Код
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://xn----8sbadhec1bwwbea1a0b9j.xn--p1ai/ [R=301,L]
удалил её, включил "Перенаправление УРЛ" и всё нормально работает )))
*

b2z

  • Глобальный модератор
  • 7290
  • 778 / 0
  • Разраблю понемногу
Re: Не работает без index.php
« Ответ #8 : 30.06.2014, 17:31:52 »
Понял в чём проблема, в файле .htaccess я когда-то добавлял строчку
Код
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://xn----8sbadhec1bwwbea1a0b9j.xn--p1ai/ [R=301,L]
удалил её, включил "Перенаправление УРЛ" и всё нормально работает )))
Все хорошо, что хорошо кончается.
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Не работает на денвере версия 1.1.6

Автор zvi

Ответов: 1
Просмотров: 1196
Последний ответ 08.03.2014, 03:19:08
от zvi
Выбор категорий не работает в sobipro

Автор Sintez83

Ответов: 2
Просмотров: 2061
Последний ответ 31.05.2013, 14:03:57
от PetrishunVadim
sobi2: RSS категории, содержащей подкатегории - не работает

Автор pavelcarcass

Ответов: 0
Просмотров: 1390
Последний ответ 27.05.2013, 05:04:01
от pavelcarcass
Не могу понять как работает mod_sobi2featured

Автор Duckoff

Ответов: 13
Просмотров: 5094
Последний ответ 08.03.2013, 02:47:34
от ANiMAL
не работает постраничная навигация в поиске SOBI2

Автор NOJEK

Ответов: 1
Просмотров: 1389
Последний ответ 24.08.2012, 17:01:48
от Demias