yastranger Posted April 3, 2012 Report Share Posted April 3, 2012 Вот думаю переносить на симплу минисайт. Помогите настроить редирект 301 со старых страниц на новые Redirect 301 /novosti http://j.jjj.org/ поставил сразу после # Админка теперь по адресу /simplaRewriteRule ^admin/?$ simpla [L] Выдает когда заходишь на /novosti , выводит "http://j.jjj.org/index.php?module=PageView&page_url=sumochki" Как так?! Как мне перенаправить с /novosti на /blog например ? Quote Link to post Share on other sites
yastranger Posted April 3, 2012 Author Report Share Posted April 3, 2012 через htaccess в корне сайта Quote Link to post Share on other sites
Noxter Posted April 3, 2012 Report Share Posted April 3, 2012 # Старые ссылки Этот блок должен идти перед "Статический страницы"RewriteRule ^/old_page$ /catalog/new_page [R=301,nc] Quote Link to post Share on other sites
yastranger Posted April 4, 2012 Author Report Share Posted April 4, 2012 noxter спасибо большое, попробую Quote Link to post Share on other sites
yastranger Posted April 4, 2012 Author Report Share Posted April 4, 2012 Сделал перекидывает на /?module=PageView&page_url=novosti Quote Link to post Share on other sites
yastranger Posted April 4, 2012 Author Report Share Posted April 4, 2012 оч нужно плиз)) Quote Link to post Share on other sites
yastranger Posted April 4, 2012 Author Report Share Posted April 4, 2012 RewriteRule ^/novosti$ /catalog/bysi [R=301,nc] RewriteRule ^/novosti$ /blog [R=301,nc] Такие вариации не прокатывают Quote Link to post Share on other sites
yastranger Posted April 25, 2012 Author Report Share Posted April 25, 2012 хех понял что все страницы указывать просто разорвется сервак от нагрузки, не стал делать, как выход для быстрой индексации создал на 404 странице карту сайта с мини описаниями... Quote Link to post Share on other sites
IGuAn Posted July 23, 2012 Report Share Posted July 23, 2012 У меня такая же беда. Переадресовывает куда надо только в конце ссылки дописывает свое ...=PageView&page_url=...Как побороть этот недуг? Quote Link to post Share on other sites
Noxter Posted July 23, 2012 Report Share Posted July 23, 2012 Пишите свой редирект до строк обработки статических страниц. Quote Link to post Share on other sites
IGuAn Posted July 24, 2012 Report Share Posted July 24, 2012 Noxter, это до каких строк? Писал уже в самом верху после # Админка теперь по адресу /simplaRewriteRule ^admin/?$ simpla [L] Quote Link to post Share on other sites
SV911 Posted August 27, 2012 Report Share Posted August 27, 2012 ЭтоRewriteRule ^old_page$ /catalog/new_page [R=301,nc] нужно вставить перед этим# Статические страницыRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^([^/]*)/?$ index.php?module=PageView&page_url=$1 [L,QSA]RewriteRule ^/?$ index.php?module=MainView&page_url= [L,QSA] Quote Link to post Share on other sites
Vladimir Posted March 2, 2013 Report Share Posted March 2, 2013 "ЭтоRewriteRule ^old_page$ /catalog/new_page [R=301,nc]нужно вставить перед этим# Статические страницы"Мне помогло только после Rewrite Engine On Quote Link to post Share on other sites
Milkikilki Posted June 27, 2014 Report Share Posted June 27, 2014 Таже самая проблема, помогите разобраться Quote Link to post Share on other sites
Серега495 Posted December 9, 2015 Report Share Posted December 9, 2015 Всем привет! Ребята, подскажите, не получается сделать редирект с WWW на БЕЗ WWWПробовал все способы которые тут указанны, вердикт 1 - происходит редирект но в конце страницы приписывается: index.php?module=MainView&page_url=.Как избавиться от нее? пробовал вставлять код в разные места , без результатно Quote Link to post Share on other sites
Vyacheslav Posted February 10, 2016 Report Share Posted February 10, 2016 Редирект внутренних страниц (копипаст из сети): В .htaccess перед строкой "# Каталог товаров" указываем нужные редиректы: RewriteRule ^goods/?$ /catalog/goods$1 [L,R=301] Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.