Mobile app version of vmapp.org
Login or Join
Kaufman445

: What is the best way to let Google know the difference between a Production, Development, and Staging environment? We have three domain names with pretty close to duplicate content (they're Magento

@Kaufman445

Posted in: #GoogleChrome #GoogleSearchConsole #Magento #WebDevelopment

We have three domain names with pretty close to duplicate content (they're Magento sites). We'll call them production.com, development.com, and staging.com.

I have robots no-index on development.com and staging.com. I also have htpasswds enabled. A Google search of these domains shows that they haven't been indexed. However, I'm starting to get phishing warnings from Chrome when I log in to the back end of the software.

I need to stop this as soon as possible. If the warnings spread to the front-end, we're looking at pretty serious ramifications.

I've looked in Google Webmaster Tools, but it isn't registering any issues.

What is the best coarse of action? How do I get Chrome to stop thinking we're up to no good?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

By noindex I assume you mean the meta robots element, and likely robots.txt, too.

Since you're using Apache you should try this directive:

<IfModule mod_headers.c>
Header set X-Robots-Tag "noindex, nofollow, noarchive"
<FilesMatch ".(doc|pdf|png|jpe?g|gif)$">
Header set X-Robots-Tag "noindex, noarchive, nosnippet"
</FilesMatch>
</IfModule>


This should suffice but banning all bots in robots.txt isn't a bad idea either (better safe than sorry).

Did you, or whoever would be the webmaster, verify ownership of all 3 domains in the same GWT account?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme