Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Questions created by stj
-
Why are there lots of 404s after setting up CDN?
I just setup Cloudfront CDN through W3 Total Cache. Everything looks good but there is one problem that I have encountered: After activating the CDN none of the images are available at the older image URLs and they are throwing a 404 error. Let me give you an example for this: 1. Before I setup the CDN, let's say an image was available at http://example.com/wp-content/uploads/2015/03/leap-of-faith.jpg 2. After I setup the CDN, the image is available at http://cdn.example.com/wp-content/uploads/2015/03/leap-of-faith.jpg and the good part is the URLs in the blog posts where this image was attached is updated to reflect the above mentioned URL. But the problem is that when visit the older URL of the image (which is what Google has crawled earlier, I get a 404 error). Can you help me how to avoid this problem? Ravi C
Web Design | | stj0