How do I host Wordpress on a hidden domain through a reverse proxy?
I have a reverse proxy for http://www.xxxx.com/guides/
pointing to Wordpress on another domain. I want to edit and administer it via the other domain, but I don't want the contents to be publicly available, so there is no duplicate content penalties from Google. How can I set this up? I was thinking of adding
Add the following to your .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$
RewriteRule ^(/)?$ blog [L]
But will that still allow the ability for administrators to access hidden.domain.com/wp-admin?
Topic duplicates apache google-search htaccess wp-admin Wordpress
Category Web