Forum Moderators: open

Message Too Old, No Replies

CDN Subdomain Canonicals

Hoping to confirm best practices

         

tube

6:58 pm on Feb 15, 2023 (gmt 0)



Hi all - I have a question from devs about a new cdn subdomain on our site and just wanted to confirm best practices. The entire site, not just images, is duplicated on the cdn.

So:

1. Every url should canonicalize to the main site equivalent.
2. Links to cdn images should canonicalize to their main domain equivalent.
3. The cdn subdomain should not be disallowed or noindexed or anything like that.

Let me know if this all sounds right - thanks!

Dimitri

10:50 am on Feb 18, 2023 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



cdn subdomain

So you have a subdomain, which is querying different servers, based on the visitor's location, right?

Then why don't you do this with your main domain straight ?

Having the same content available from your main domain and sub domain and using canonical URLs seems to add complexity (and possible programs).