Staging Site indexing
So you got your staging site indexed? Happens to everyone. Here’s a rough guide on fixing it, and suggestions for preventing it.
(thought I’d write this up somewhere)
The fastest way to get the staging site removed from search is remove it via Search Console. For that, you need to verify ownership via Search Console [1] (ironically, this means you’ll likely have to make it accessible to search engines again, or figure out DNS verification, which isn’t that common but also not that hard).