Автор Тема: проблема с индексацией сайта  (Прочитано 908 раз)

10 Июнь 2016, 20:13:05
  • Новичок
  • *
  • Сообщений: 14
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля

В поиске яндекса было примерно 1000 страниц. Обновил движок удалил некоторые товары добавил новые. После чего в поиске яндекса стало 1 главная странице. Хотя на сайте их сейчас 2000 страниц. Подождал пару месяцев по прежнему 1 страница.

Решил проверить карту сайта в Я.Вебмастер по ссылке и он выдал следующие "Указанный URL запрещен к индексированию в файле robots.txt.". Я переустановил модуль Google sitemap и обновил robots.txt и то же самое.

В чем может быть дело?
11 Июнь 2016, 10:02:28
Ответ #1
  • Ветеран
  • *****
  • Сообщений: 86688
  • Репутация: +25428/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Покажите свой robots.txt.
11 Июнь 2016, 13:17:36
Ответ #2
  • Новичок
  • *
  • Сообщений: 14
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
# robots.txt automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums
# This file is to prevent the crawling and indexing of certain parts
# of your site by web crawlers and spiders run by sites like Yahoo!
# and Google. By telling these "robots" where not to go on your site,
# you save bandwidth and server resources.
# For more information about the robots.txt standard, see:
# http://www.robotstxt.org/robotstxt.html
User-agent: *
# Allow Directives
Allow: */modules/*.css
Allow: */modules/*.js
# Private pages
Disallow: /*?orderby=
Disallow: /*?orderway=
Disallow: /*?tag=
Disallow: /*?id_currency=
Disallow: /*?search_query=
Disallow: /*?back=
Disallow: /*?n=
Disallow: /*&orderby=
Disallow: /*&orderway=
Disallow: /*&tag=
Disallow: /*&id_currency=
Disallow: /*&search_query=
Disallow: /*&back=
Disallow: /*&n=
Disallow: /*controller=addresses
Disallow: /*controller=address
Disallow: /*controller=authentication
Disallow: /*controller=cart
Disallow: /*controller=discount
Disallow: /*controller=footer
Disallow: /*controller=get-file
Disallow: /*controller=header
Disallow: /*controller=history
Disallow: /*controller=identity
Disallow: /*controller=images.inc
Disallow: /*controller=init
Disallow: /*controller=my-account
Disallow: /*controller=order
Disallow: /*controller=order-opc
Disallow: /*controller=order-slip
Disallow: /*controller=order-detail
Disallow: /*controller=order-follow
Disallow: /*controller=order-return
Disallow: /*controller=order-confirmation
Disallow: /*controller=pagination
Disallow: /*controller=password
Disallow: /*controller=pdf-invoice
Disallow: /*controller=pdf-order-return
Disallow: /*controller=pdf-order-slip
Disallow: /*controller=product-sort
Disallow: /*controller=search
Disallow: /*controller=statistics
Disallow: /*controller=attachment
Disallow: /*controller=guest-tracking
# Directories
Disallow: */classes/
Disallow: */config/
Disallow: */download/
Disallow: */mails/
Disallow: */modules/
Disallow: */translations/
Disallow: */tools/
# Files
Disallow: /*address
Disallow: /*addresses
Disallow: /*authentication
Disallow: /*cart
Disallow: /*discount
Disallow: /*guest-tracking
Disallow: /*order-history
Disallow: /*identity
Disallow: /*my-account
Disallow: /*order
Disallow: /*
Disallow: /*order-follow
Disallow: /*quick-order
Disallow: /*order-slip
Disallow: /*password-recovery
Disallow: /*search
11 Июнь 2016, 14:08:02
Ответ #3
  • Ветеран
  • *****
  • Сообщений: 86688
  • Репутация: +25428/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Disallow: /*Это правило запрещает индексацию сайта.
Ищите на форуме тему про то, какой должен быть файл robots.txt  для оптимальной работы prestashop.
11 Июнь 2016, 15:12:18
Ответ #4
  • Новичок
  • *
  • Сообщений: 14
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Disallow: /* Удалил. Ошибки больше нет. Вебмастер принимает ссылку на карту сайта. Подожду обновления. Спасибо! Очень помогли.