What Are Robots.Txt |Why Are Used.
What Are Robots.Txt And Why Are Used?
What Are Robots.Txt?
The robots exculsion standard also know as the exculsion protocol or simple robots.txt is standard used by to communicate with google crawlers and others website.
Robots.txt to tell web
crawlers which URL the crawlers can access on on your site.
To keep a web page out of
google,block,indexing with noindex or passwords-protect the page.
Why Are Used?
- The URL you do not want to be shown in search engine so you can use disallow tag in robots.txt.
- If you want to be shown your URL on search engine so you use allow tag in robots.txt.
The Allow directive is supported by Google and Bing. Using the Allow and Disallow directives together you can tell search engines they can access a specific file or page.
- Many option available
in robots.txt what do you want.
How To Write Robots.txt?
Users-agent
Disallow-/wp -admin/
Allow:/wp -admin-ajax-php
User-agent
- Disallow:/wp-include
- Disallow:/wp-content
- Disallow:/pdf
- Disallow:/our-service
- Disallow:/our-events
- Disallow:/our-clients
- Disallow:/tag
Type Of Robots.Txt.
Type of robots is two types.
- Index
- non index
How Do You Test robots. Txt Is Working By Search Browsers?
Test your robots. txt file
1.
Copy your domain name and paste search chrome browsers then slice
and type robots.txt.
For example-My site
name is jbizmeadia.com so i will use(Jbizmeadia.com/robots.txt)and click.
Comments
Post a Comment