Aledor 11 Posted October 14, 2015 Report Share Posted October 14, 2015 движок Netcat, Как закрыть ссылки от индексации? которые содержатся в url, много дублей выходит возможно, кто то поделится своим robots и .htacess Disallow: /*?sidDisallow: /*?priceDisallow: /*?alfDisallow: /*?vendorDisallow: /*?cur_ccDisallow: /*?stockDisallow: /*?cur_cc я закрыл их так, наверное сделал неправильно ибо из поиска страницы эти не вылетели за 2 апа Link to post Share on other sites
serzh82 78 Posted October 14, 2015 Report Share Posted October 14, 2015 движок Netcat, Как закрыть ссылки от индексации? которые содержатся в url, много дублей выходит возможно, кто то поделится своим robots и .htacess Disallow: /*?sid Disallow: /*?price Disallow: /*?alf Disallow: /*?vendor Disallow: /*?cur_cc Disallow: /*?stock Disallow: /*?cur_cc я закрыл их так, наверное сделал неправильно ибо из поиска страницы эти не вылетели за 2 апа Вроде правильно. В вебмастере проверяли блокируется эти адреса? Link to post Share on other sites
VIP styoplotr 514 Posted October 14, 2015 VIP Report Share Posted October 14, 2015 Если нужен пример robots думаю неплохо будет подглядеть на их сайте http://www.netcat.ru/robots.txt Link to post Share on other sites
sochi-russia 73 Posted October 14, 2015 Report Share Posted October 14, 2015 Уже никак не закроете. Link to post Share on other sites
Aledor 11 Posted October 14, 2015 Author Report Share Posted October 14, 2015 Если нужен пример robots думаю неплохо будет подглядеть на их сайте http://www.netcat.ru/robots.txt не нашел, ответа на свой вопрос там Link to post Share on other sites
Aledor 11 Posted October 14, 2015 Author Report Share Posted October 14, 2015 Сейчас он выглядит вот так: User-Agent: Yandex Disallow: /? Disallow: /install/ Disallow: /search/ Disallow: /links/ Disallow: /js/ Disallow: /netcat/ Disallow: /netcat_files/ Disallow: /netcat_cache/ Disallow: /netcat_dump/ Disallow: /s/ Disallow: /download/ Disallow: /404/ #379# Disallow: /paged/ Disallow: /*.swf Disallow: /eng/ Disallow: /*?sid Disallow: /*?price Disallow: /*?alf Disallow: /*?vendor Disallow: /*?cur_cc Disallow: /*?stock возможно правильней делать так? Disallow: *?sid* Disallow: *?price* Disallow: *?alf* Disallow: *?vendor* Disallow: *?cur_cc* Disallow: *?stock* Link to post Share on other sites
Aledor 11 Posted October 14, 2015 Author Report Share Posted October 14, 2015 Уже никак не закр это почему? Link to post Share on other sites
tvskit 259 Posted October 14, 2015 Report Share Posted October 14, 2015 Попробуй: User-Agent: * Disallow: /? Disallow: /*? Disallow: /install/ Disallow: /links/ Disallow: /js/ Disallow: /netcat/ Disallow: /netcat_files/ Disallow: /*.swf Disallow: /eng/ Host: example.com Sitemap: http://example.com/sitemap.xml Потом после редактирования, проверте через вебмастер - Анализ роботс, вставляйте дубли в поле проверки он должен их блокировать, т.е. в результате что типа: запрещен правилом /*?* пс: результаты проверки: Link to post Share on other sites
Aledor 11 Posted October 14, 2015 Author Report Share Posted October 14, 2015 Попробуй: User-Agent: * Disallow: /? Disallow: /*? Disallow: /install/ Disallow: /links/ Disallow: /js/ Disallow: /netcat/ Disallow: /netcat_files/ Disallow: /*.swf Disallow: /eng/ Host: example.com Sitemap: http://example.com/sitemap.xml Потом после редактирования, проверте через вебмастер - Анализ роботс, вставляйте дубли в поле проверки он должен их блокировать, т.е. в результате что типа: запрещен правилом /*?* пс: результаты проверки: всё таки 2 звёздочки? не понял до конца Link to post Share on other sites
tvskit 259 Posted October 14, 2015 Report Share Posted October 14, 2015 Скопируйте полностью и замените все в своём роботсе: User-Agent: * Disallow: /? Disallow: /*? Disallow: /install/ Disallow: /links/ Disallow: /js/ Disallow: /netcat/ Disallow: /netcat_files/ Disallow: /*.swf Disallow: /eng/ Host: example.com Sitemap: http://example.com/sitemap.xml example заменить на своё И главное, после проверяйте основные/нужные страницы, они не должны блокироваться, я так один раз попал. Link to post Share on other sites
bozon 20 Posted October 14, 2015 Report Share Posted October 14, 2015 User-agent: *Disallow: /cgi-binDisallow: /wp-adminDisallow: /wp-includeDisallow: /wp-register.phpDisallow: /wp-content/pluginsDisallow: /wp-content/cacheDisallow: /wp-content/themesDisallow: /trackbackDisallow: */trackbackDisallow: */*/trackbackDisallow: */*/feed/*/Disallow: */feedDisallow: /*?*Disallow: /tagDisallow: /pageDisallow: */page/*Disallow: /pluginsDisallow: /archivesDisallow: /authorDisallow: /step/.....Disallow: /search/*Disallow: /goDisallow: /gotoDisallow: /wp-login.phpDisallow: /uploads/Disallow: /*.gif$Disallow: /*.jpg$Disallow: /*.png$Disallow: /xmlrpc.phpDisallow: */comment-page-*Disallow: /commentsDisallow: /sample-pageDisallow: /?attachment_idDisallow: /imgUser-agent: YandexDisallow: /cgi-binDisallow: /wp-adminDisallow: /wp-includesDisallow: /wp-content/pluginsDisallow: /wp-register.phpDisallow: /wp-content/cacheDisallow: /wp-content/themesDisallow: /trackbackDisallow: */trackbackDisallow: */*/trackbackDisallow: */*/feed/*/Disallow: */feedDisallow: /*?*Disallow: /tagDisallow: /pageDisallow: */page/*Disallow: /pluginsDisallow: /archivesDisallow: /authorDisallow: /goDisallow: /gotoDisallow: /step/.....Disallow: /search/*Disallow: /xmlrpc.phpDisallow: */comment-page-*Disallow: /commentsDisallow: /sample-pageDisallow: /wp-login.phpDisallow: /uploadsDisallow: /?attachment_idDisallow: /imgHost: http://site.ruSitemap: http://site.ru/sitemap.xml попробуйте адаптировать этот роботс под свои нужды)) Link to post Share on other sites
Aledor 11 Posted October 14, 2015 Author Report Share Posted October 14, 2015 Скопируйте полностью и замените все в своём роботсе: User-Agent: * Disallow: /? Disallow: /*? Disallow: /install/ Disallow: /links/ Disallow: /js/ Disallow: /netcat/ Disallow: /netcat_files/ Disallow: /*.swf Disallow: /eng/ Host: example.com Sitemap: http://example.com/sitemap.xml example заменить на своё И главное, после проверяйте основные/нужные страницы, они не должны блокироваться, я так один раз попал. У меня проблема именно с вот этой частью.. что делать ..... Disallow: /*?sid Disallow: /*?price Disallow: /*?alf Disallow: /*?vendor Disallow: /*?cur_cc Disallow: /*?stock Disallow: /*?curPos а вот сейчас он таков : Disallow: /? Disallow: /backup/ Disallow: /install/ Disallow: /search/ Disallow: /links/ Disallow: /js/ Disallow: /netcat/ Disallow: /component/ Disallow: /netcat_files/ Disallow: /netcat_cache/ Disallow: /netcat_dump/ Disallow: /s/ Disallow: /download/ Disallow: /404/ #379# Disallow: /paged/ Disallow: /*.swf Disallow: /eng/ Disallow: /*?sid Disallow: /*?price Disallow: /*?alf Disallow: /*?vendor Disallow: /*?cur_cc Disallow: /*?stock Disallow: /*?curPos Link to post Share on other sites
node.js 103 Posted October 14, 2015 Report Share Posted October 14, 2015 Как то давно на phpbb юзал роботс где было все закрыто и открыты топики и темы с мордой, дублей вобще не было, а роботс был на строк 5-7 всего =) Aledor 1 Link to post Share on other sites
tvskit 259 Posted October 14, 2015 Report Share Posted October 14, 2015 У меня проблема именно с вот этой частью.. что делать ..... Disallow: /*?sid Disallow: /*?price Disallow: /*?alf Disallow: /*?vendor Disallow: /*?cur_cc Disallow: /*?stock Disallow: /*?curPos Этот кусок можно заменить: Disallow: /*? Значит в роботсе всё заменить на Disallow: /? Disallow: /*? Disallow: /backup/ Disallow: /install/ Disallow: /search/ Disallow: /links/ Disallow: /js/ Disallow: /netcat/ Disallow: /component/ Disallow: /netcat_files/ Disallow: /netcat_cache/ Disallow: /netcat_dump/ Disallow: /s/ Disallow: /download/ Disallow: /404/ Disallow: /paged/ Disallow: /*.swf Disallow: /eng/ Host: example.com Sitemap: http://example.com/sitemap.xml Link to post Share on other sites
Aledor 11 Posted October 14, 2015 Author Report Share Posted October 14, 2015 как запретить подобные ссылки: power.ru/catalog/Odezhda/?stock=0 power.ru/component/chronoforms/?chronoform=question&item=Lean Desert Protein (BSN) 630 г&tmpl=component power.ru/catalog/?price=asc&vendor=Syntrax power.ru/catalog/Chipsy/?alf=asc power.ru/catalog/Axessuary/?curPos=24 power.ru/catalog/?vendor=Optimum+Nutrition вот такие проблемы меня интересуют Этот кусок можно заменить: Disallow: /*? Значит в роботсе всё заменить на Disallow: /? Disallow: /*? Disallow: /backup/ Disallow: /install/ Disallow: /search/ Disallow: /links/ Disallow: /js/ Disallow: /netcat/ Disallow: /component/ Disallow: /netcat_files/ Disallow: /netcat_cache/ Disallow: /netcat_dump/ Disallow: /s/ Disallow: /download/ Disallow: /404/ Disallow: /paged/ Disallow: /*.swf Disallow: /eng/ Host: example.com Sitemap: http://example.com/sitemap.xml Link to post Share on other sites
tvskit 259 Posted October 14, 2015 Report Share Posted October 14, 2015 как запретить подобные ссылки: power.ru/catalog/Odezhda/?stock=0 power.ru/component/chronoforms/?chronoform=question&item=Lean Desert Protein (BSN) 630 г&tmpl=component power.ru/catalog/?price=asc&vendor=Syntrax power.ru/catalog/Chipsy/?alf=asc power.ru/catalog/Axessuary/?curPos=24 power.ru/catalog/?vendor=Optimum+Nutrition вот такие проблемы меня интересуют power.ru/component/chronoforms/?chronoform=question&item=Lean Desert Protein (BSN) 630 г&tmpl=component Добавить строчку Disallow: /*/chronoforms я так понимаю эта строчка chronoforms поиска/запроса - т.е. страницы component/chronoforms * полезной нагрузки не несут. А остальные сработают по правилу Disallow: /*? Aledor 1 Link to post Share on other sites
direct808 5 Posted October 15, 2015 Report Share Posted October 15, 2015 Disallow: *?sid* Disallow: *?price* Disallow: *?alf* Disallow: *?vendor* Disallow: *?cur_cc* Disallow: *?stock* звездочки в конце правила ставить не обязательно. По умолчанию к концу каждого правила приписывается спецсимвол * Link to post Share on other sites
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now