Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

/index.php?route=common/home


Soong

Recommended Posts

Добрый день!
Как то ранее убирал ( пропадало ) иногда при создании даже не появлялась данная ссылка после домена.
Куда ткнуть , что бы убрать этот путь?
image.thumb.png.9f213a3e456e191b66e5d56cc68bd879.png|

ЧПУ включал / выключал. 

 

Надіслати
Поділитися на інших сайтах


31 минуту назад, prived сказал:

http://prntscr.com/lej9td

если хотябы попробовать поискать то гугл даст ответ 

Игорек, ты думаешь я не искал?)
Вбить не так то просто те коды, которые советует гугл.

Надіслати
Поділитися на інших сайтах


14 минут назад, SunnRi сказал:

юзать .htaccess

спасибо, за флуд )
я примерно понимаю что это дело в этом htaccessene 
но, куда ткнуть не могу понять.
Ибо ранее с такой проблемой на других сайтах не сталкивался. Все решалось сео про в настройках 

Надіслати
Поділитися на інших сайтах


18 минут назад, Soong сказал:

спасибо, за флуд )
я примерно понимаю что это дело в этом htaccessene 
но, куда ткнуть не могу понять.
Ибо ранее с такой проблемой на других сайтах не сталкивался. Все решалось сео про в настройках 

это не флуд а направление
в корне сайта лежит файл .htaccess.txt
нужно переименовать в .htaccess
 

Надіслати
Поділитися на інших сайтах


27 минут назад, AWARO сказал:

это не флуд а направление
в корне сайта лежит файл .htaccess.txt
нужно переименовать в .htaccess
 

image.png.9b987deb367084f3e1f29b9d8f921f3a.png

Надіслати
Поділитися на інших сайтах


2 часа назад, ssa сказал:

значит стоит дефолтный попробовать, либо на хостинге nginx установлен и тогда .htaccess не поможет

думаю вечером с моих других сайтов тестануть. с рабочих. Надеюсь поможет, если нет то заново сайт сделаю, проще сайт с нуля сделать , чем найти эту мелочь ))) 
 

Надіслати
Поділитися на інших сайтах


Вы просто даете слишком мало информации, и включать телепата лишний раз не хочется.

 

В след. раз просто дайте больше информации для понимания, вот вам шпаргалка 

При написании сообщения об ошибке, указывайте следующую информацию:

  1. Хостинг. Shared или VDS/VPS.
  2. Какая у вас сборка (движок).
  3. Версия движка.
  4. Какой шаблон установлен. Если платный, должна быть лицензия. С варезом можно не писать.
  5. Какие модули установлены.
  6. Точное описание последовательности действий, чтобы получить ошибку.
  7. В особо тяжелых случаях может потребоваться адрес сайта. Однако ни что не мешает указывать его сразу.

 

Благодарность пишем @RHCk

 

 

 

Змінено користувачем SunnRi
Надіслати
Поділитися на інших сайтах


25 минут назад, SunnRi сказал:

Вы просто даете слишком мало информации, и включать телепата лишний раз не хочется.

 

В след. раз просто дайте больше информации для понимания, вот вам шпаргалка 

При написании сообщения об ошибке, указывайте следующую информацию:

  1. Хостинг. Shared или VDS/VPS.
  2. Какая у вас сборка (движок).
  3. Версия движка.
  4. Какой шаблон установлен. Если платный, должна быть лицензия. С варезом можно не писать.
  5. Какие модули установлены.
  6. Точное описание последовательности действий, чтобы получить ошибку.
  7. В особо тяжелых случаях может потребоваться адрес сайта. Однако ни что не мешает указывать его сразу.

 

Благодарность пишем @RHCk

 

 

 

1. Бегет обычный
2-3 Версия ocStore 2.3.0.2.3
4 Unishop 
5. Только seo tags и seo url ( без них была та же проблема )
6. Зайти на главную страницу hame-toys.ru

p.s. На счет телепата согласен, извиняюсь

Змінено користувачем Soong
Надіслати
Поділитися на інших сайтах


Спойлер

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.hame-toys\.ru$ [NC,OR]
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://hame-toys.ru/$1 [R=301,L]

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))">
 Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off

# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M

# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M

# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200

# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200

# 7. disable open_basedir limitations
# php_admin_value open_basedir none 
 

 

Надіслати
Поділитися на інших сайтах


Спойлер

 

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))">
 Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteCond %{HTTP_HOST} ^www\.hame-toys\.ru$ [NC,OR]
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://hame-toys.ru/$1 [R=301,L]

### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off

# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M

# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M

# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200

# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200

# 7. disable open_basedir limitations
# php_admin_value open_basedir none 

 

 

 

Забираем и пробуем. (полная замена)


З.Ы У вас первые 4 строчки были лишние, и не в том месте, одна строка была дублем.

Змінено користувачем SunnRi
  • +1 1
Надіслати
Поділитися на інших сайтах


1 час назад, SunnRi сказал:
  Скрыть контент

 

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))">
 Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteCond %{HTTP_HOST} ^www\.hame-toys\.ru$ [NC,OR]
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://hame-toys.ru/$1 [R=301,L]

### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off

# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M

# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M

# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200

# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200

# 7. disable open_basedir limitations
# php_admin_value open_basedir none 

 

 

 

Забираем и пробуем. (полная замена)


З.Ы У вас первые 4 строчки были лишние, и не в том месте, одна строка была дублем.

Я переустановлю наверное сайт, ибо все равно после замены все осталось.
Спасибо за время потраченное на меня.

Надіслати
Поділитися на інших сайтах


Створіть аккаунт або увійдіть для коментування

Ви повинні бути користувачем, щоб залишити коментар

Створити обліковий запис

Зареєструйтеся для отримання облікового запису. Це просто!

Зареєструвати аккаунт

Вхід

Уже зареєстровані? Увійдіть тут.

Вхід зараз
  • Зараз на сторінці   0 користувачів

    • Ні користувачів, які переглядиють цю сторінку

×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.