How to change url of images from cdn to domain name .

Sachin__
Excursionist
20 2 6

How i can change the url of image from a cdn link to domain.

Like now it is 
:-  https://cdn.shopify.com/s/files/image1.png

I want like this

:- https://xyz.com/image1.png

Replies 5 (5)
DigitalArtisans
Shopify Partner
378 57 84

Hello @Sachin__ !

 

Assuming you have a simple domain setup and requirements:

 

First try using your admins redirects myshopify.com/admin/redirects

 

From your Shopify admin, go to Online Store > Navigation.

Click URL Redirects.

Click Add URL redirect.

In Redirect from, enter the old URL that you want to redirect visitors from.  URLs should be redirected. ...

Click Add.

 

The second method is using proxy that will lower the speed of your website.

 

Thanks,

Digital Artisans

Hatim Ayoub | Designer | Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted
Sachin__
Excursionist
20 2 6

@DigitalArtisans My problem is that , i want to serve media from the my domain name like xyz.com/image.png not from shopify cdn .

FarmHouseTack
Tourist
3 0 0

did you ever get this figured out? 

Big_Van_Studio1
Shopify Partner
17 0 0

Were you able to solve this?

FarmHouseTack
Tourist
3 0 0

Not sure about the OP but we have not found a workaround. 
MD