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

Sachin__
Excursionist
20 2 1

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

0 Likes
DigitalArtisans
Shopify Partner
360 49 63

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
0 Likes
Sachin__
Excursionist
20 2 1

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

0 Likes