: How to prevent Google from indexing non-domain URL of website? My webhost gives you two URLs for your website: the URL on your shared server, which is something like usr283725992783.webhost.com
My webhost gives you two URLs for your website:
the URL on your shared server, which is something like usr283725992783.webhost.com
and
your domain URL, which is example.com
Google is indexing both of these URLs, but obviously I only want example.com to be indexed.
I can't add "nofollow" tags to usr283725992783.webhost.com because that URL serves the same files as example.com.
How can I only make Google not follow usr283725992783.webhost.com and keep following example.com?
More posts by @Sims2060225
2 Comments
Sorted by latest first Latest Oldest Best
I thing going for 301 redirect using .htaccess will make google not follow this link.Or you can use robots.txt.
In your case, you will most probably have duplicate content issues and thus indexing issues for your site.
To avoid duplicate content issues with search engines, you can add a rel="canonical" tag (how to use it on Google support) in all your pages to specify the right version of pages is the one from example.com.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.