: Had the same problem with another provider and it is really not their fault. It is still a mystery to me how Google was able to find the subdomain path since I never wrote it anywhere.
Had the same problem with another provider and it is really not their fault. It is still a mystery to me how Google was able to find the subdomain path since I never wrote it anywhere.
The more robust solution is to setup your .htaccess so to give a 301 redirect when the wrong domain is accessed. For completeness I also do it for the non www version of the domain. That way Google always resolves and attributes PageRank to the official name. This is simple to do as long as .htaccess are enabled and setup properly.
Here is what one of mine looks like:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^realdomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^subdomain.realdomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.subdomain.realdomain.com$
RewriteRule ^/?(.*)$ www.realdomain.com/ [R=301,L]
More posts by @Welton855
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.