I have two domains: example.com and dev.example.net. example.com is the active one and dev.example.net should be invisible to Google.dev.example.net has 301 redirects to example.com and it has its own robots.txt that doesn't allow Google to index pages.Still I got dev.example.net results showing in Google. How can I convince Google that it shouldn't show any results from dev.example.net?
How to tell google that domain no longer exists but still make redirects from that domain
domains;htaccess;redirects;301 redirect;robots.txt