не работает редирект с http://site.ru на www.site.ru

More
7 years 9 months ago #5801 by Dmitriy Safonov
Добрый день! при включении плагина не работает редирект с site.ru на www.site.ru ? в чем может быть проблема ? был прописан редирект в htaccess 301й,
сейчас на него не реагирует никак...

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #5802 by JoomLine
плагин ни как на этот процесс не влияет попробуйте прописать редирект так:
RewriteCond %{HTTP_HOST} ^site\.ru$ [NC]
RewriteRule ^(.*)$ http://www.site.ru/$1 [R=301,L]
The following user(s) said Thank You: Dmitriy Safonov

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #5804 by Dmitriy Safonov
Cпасибо! вот как было прописано:

Options +FollowSymLinks -Indexes

RewriteEngine On
RewriteCond %{HTTP_HOST} ^pd-ritual.ru
RewriteRule (.*) www.pd-ritual.ru/$1 [R=301,L]

нехватало стрелочки вверх!!! :blush: :blush: :blush:

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.