Mobile app version of vmapp.org
Login or Join
Deb1703797

: Testing server indexed in Google Assume our website domain to be www.example.com. And we have created a separate testing environment within our main domain: Say : www.project.example.com. So we

@Deb1703797

Posted in: #Googlebot #GoogleSearchConsole #Htaccess #Indexing #Seo

Assume our website domain to be example.com.

And we have created a separate testing environment within our main domain:
Say : project.example.com.
So we have two versions within our main domain server. One is for testing and building new updates and the other one is live server.

I see projects.example.com indexed in Google which is our testing server.

Is there any option to restrict this testing environment from being indexed in Google?

thanks

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

1 Comments

Sorted by latest first Latest Oldest Best

 

@Harper822

Yes. Add a robots.txt file that disallows either all robots or just the Google bot.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme