I have created a sub domain and put robots file
As follows
User-agent: *
DisAllow: /

Will it affect my main domain?
I have robots file in my main domain as follows
User-agent: *
Allow: /

Recommended Answers

This will affect your main domain only if it is accessible through your main domain url also.
e.g. yourmaindomain .com/robots.txt

Jump to Post

All 2 Replies

Member Avatar

This will affect your main domain only if it is accessible through your main domain url also.
e.g. yourmaindomain .com/robots.txt

Allow mean do you allow to check your website to search engines if you are disallow it's mean you are disable allow to search engine to check your website:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.