المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : CDN pages get indexed


eshrag
02-01-2019, 05:35 PM
I have read a lot of posts around this and I am not sure what is the correct approach about this.
The problem is that for one domain and it's normal indexed pages there are also many related cdn pages that have been indexed.

I understand that the canonical tag should be the solution, but then we have the problem of the different languages.
So, let's set an example.
Our original domain is: Example Domain (http://www.example.com) and the cdn domain is cdn0.example.com
Under this cdn domain there are subpages, like: cdn0.example.com/categories/typea and each one has different versions for every locale:
- cdn0.example.com/categories/typea?locale=en-EU
- cdn0.example.com/categories/typea?locale=es-ES
- cdn0.example.com/categories/typea?locale==fi-FI
So logically the canonical for all these above should be the: cdn0.example.com/categories/typea

But what about the original domain Example Domain (http://www.example.com).
How should all the previous be connected to the original one?

Maybe a robots file would be the solution after all?
cdn.yourdomain.com/robots.txt
With a parameter of : Disallow: /