Mobile app version of vmapp.org
Login or Join
Deb1703797

: Migrating (image) CDN subdomain from HTTP to HTTPS I am migrating one of my sites from HTTP to HTTPS. It is totally clear how to do things for my main www.myexampledomain.com, however I'm not

@Deb1703797

Posted in: #GoogleSearch #Seo

I am migrating one of my sites from HTTP to HTTPS. It is totally clear how to do things for my main myexampledomain.com, however I'm not sure some little details about migrating cdn.myexampledomain.com.

So what is the best way (from Google/SEO point of view) to 301 redirect my old http CDN links to the new https?


My first idea is to simply set it in the Amazon Cloudfront admin to force http to https. This way when Googlebot visits an old http link it will be redirected to the new one. While the previous version is for the already indexed links, I would also change the CDN links on the site to https.
After I did the 301 redirect, do I need anything else regarding to my CDN domain? Will Googlebot reindex the CDN links when detects the protocol change or it will be informed when I resubmit a sitemap for the main domain and indexes it again?
Can be an issue if the SSL cert of the main and cdn domain is different?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

As you are linking directly to images/files you cannot use rel=canonical as you would on your HTML pages. So a 301 redirect is the best option, there is no penalty for that.

First, make sure HTTPS is up and working on your CDN. I’d suggest updating as many links/tags as possible to use the HTTPS URLs, to ensure everything works fine. Then add your 301 redirects.

There’s nothing else required, Googlebot will update all its data in due course. Linking directly to the HTTPS images as I said above may help speed up indexing on the new URLs.

There is no issue if the certificate for the main site and CDN are different (in fact they must be different certs unless you’re using an expensive wildcard cert). As long as both certs are valid there is no problem.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme