What is the easiest way to test if indexing a page by google is allowed?

Perfecto

Client
Регистрация
06.08.2013
Сообщения
94
Благодарностей
4
Баллы
8
Hi,

I need a script to test if everything is allowed for Google indexing. The most complicated one is for the Robots.txt file.

55005
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 270
Благодарностей
5 854
Баллы
113
You can make such script in ProjecttMaker. How do you make it in usual browser?
 

Perfecto

Client
Регистрация
06.08.2013
Сообщения
94
Благодарностей
4
Баллы
8

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113
In my browser I make it with this : https://chrome.google.com/webstore/detail/robots-exclusion-checker/lnadekhdikcpjfnlhnbingbkhkfkddkl
For rhe robots.txt it seems a bit complex to me because there are a lot of different syntax to forbid the indexing of a page
You just make your own rules and regex what should be checked for each parameter.
Scrape robots.txt and get what's there and make regex to check if Google is allowed or disallowed.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)