Reputation: 26598
I have
www.example.com
with WordPressand
www.example.com/sitetwo
with another WordPressI would allow crawling for the entire example.com
and only the home page of example.com/sitetwo
.
What I have to write in my robots.txt
?
Upvotes: 0
Views: 95
Reputation: 1999
Allow: /sitetwo/$
Disallow: /sitetwo/
$
means "exact match" in this context.
Upvotes: 1