I'm developing a site (WordPress) and have a staging site where I make changes and do testing. The two domains are example.com
and staging.example.com
. The contents of the sites are completely the same.
Is this going to be a problem for SEO, since I understand that Google punishes duplicate content?
I know I can turn off Search Engine Visibility in the staging site, but would then have to remember to turn it back on again every time I update my production site.