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

All 2 Replies

Member Avatar for jorik

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.