: Redirecting one image type to another. Possible? I have a humor site that is based primarily on thumbnails and gifs. I'm in the process of converting all png's -> jpeg and gifs -> webm to
I have a humor site that is based primarily on thumbnails and gifs. I'm in the process of converting all png's -> jpeg and gifs -> webm to save bandwidth and disk space. All in all probably about 10k images of each file type will be converted.
My questions are:
1) Can I 301 redirect to a completely different file type? png -> jpeg for example.
2) Should I expect to loose some SEO traffic?
3) What happens to my existing backlinks? My social networks have amassed a large following and I don't want my old content to be unusable.
More posts by @Connie744
2 Comments
Sorted by latest first Latest Oldest Best
You don't necessarily need to externally redirect.
You could keep the (URL) filename the same and either internally rewrite to the actual .jpg file, or just make sure you send the correct Content-Type header. It is, after all, the mime-type that determines the file type, not the file extension (although this might be a bit confusing).
Obviously if you don't change the filenames then nothing changes from a client's perspective. Client-side caching should be unaffected and no change to SEO.
Doing a 301 redirect, you should be fine. I would not try and redirect each image by name, but rather make sure that each new image has the same name, just another file extension. This should make redirecting a simple regex operation.
Having said that, I suggest using www.smalleranimals.com/thumb.htm especially since you have 10k images.
Here are the advantages:
Super fast!
Can run in batch mode.
Can replicate file names with new extensions and directory structures.
Super efficient. These guys are real experts and this is all they do.
But more importantly, you may not actually have to change the file type/extension. These guys are that good!!
Best of all, you can use it in trial mode for your project or pay the whopping for a license! I have been using this product for over 15 years and it continues to amaze me.
I have used this on many millions of images at a time. It works great!!
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.