Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

NikRestore

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

NikRestore's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. Поправил htaccess до такого состояния. Отсюда отталкиваться как-то надо. Options +FollowSymlinks RewriteEngine ON RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] RewriteCond %{HTTPS} OFF RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule .* http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{HTTPS} ON RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !\/$ RewriteCond %{REQUEST_URI} !\/[^\/]*\.[^\/]+$ RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI}/ [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !\/$ RewriteCond %{REQUEST_URI} !\/[^\/]*\.[^\/]+$ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI}/ [L,R=301]
  2. Здравствуйте. Проблема в следующем: Не могу понять, что не так в htaccess - При клике на любую страницу идет переадресация на главную. В чем может быть дело? ocStore 2.3.0.2.3. SEO URL + SeoPro (ЧПУ). Без SeoPro тоже самое получается. SSL заказал у хостера, подключил, в Настройках включил. Переадресация с http://domain.com/ на https://domain.com/ осуществляется функцией хостинга. В конфигах корня и админа прописал: //HTTP define('HTTP_SERVER', 'http://www.domain.com/'); //HTTPS define('HTTPS_SERVER', 'https://www.domain.com/'); .htaccess. Закомментированная строчка должна была делать редирект с обычных урлов на сеошные урлы. Но при ее активации, просто падают стили. RewriteEngine ON 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/download/(.*) index.php?route=error/not_found [L] RewriteCond %{HTTPS} OFF RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule .* http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{HTTPS} ON RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !\/$ RewriteCond %{REQUEST_URI} !\/[^\/]*\.[^\/]+$ RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI}/ [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !\/$ RewriteCond %{REQUEST_URI} !\/[^\/]*\.[^\/]+$ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI}/ [L,R=301] # RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] <Files .htaccess> Order Allow, Deny Deny from All </Files> Options All -Indexes
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.