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

Ragrar

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

Ragrar's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Пробовал не получилось. Вот такой код вставлял: RewriteEngine On RewriteCond %{HTTP_HOST} ^(.*)$ [NC] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L] RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L] RewriteRule ^download/(.*) /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)
  2. Попробовал. Эффект такой же, что и в первом моем сообщение .
  3. Добрый день форумчане Опишу проблему вкратце. Хотел сделать редирект с без "www" на "WWW". Все получилось редирект работал. Но после этого перестали рабоать сео урл. Пример. До установки редирект были урл статей такого вида: http://www.site.ru/dostavka http://www.site.ru/dostavka2 После установки редиректа стали такого вида: http://www.site.ru/index.php?_route_=dostavka http://www.site.ru/index.php?_route_=dostavka2 Сам код .htaccess до: RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L] RewriteRule ^download/(.*) /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] После: RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L] RewriteRule ^download/(.*) /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} ^site.ru RewriteRule (.*) http://www.site.ru/$1 [R=301,L] И все прежние страницы у которых было seo url стали выдавать 404Кто может помочь? Искал по поиску, не нашел нужной инфы. Заранее благодарю за понимание и помощь
Guest
×
  • 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.