-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
A year of web hosting for Managed WordPress on Hostinger is now 91% off
By News Staff,
- hostinger
- web hosting
- (and 4 more)
- 0 replies
- 0 views
-
[Deal Alert] 1-Year subscription to Hostinger Web Hosting for Managed WordPress now 91% off
By News Staff,
- 0 replies
- 0 views
-
WordPress 6.9 BETA 1 is out now - the community is invited to test the new version -...
By thedhubs,
- 0 answers
- 633 views
-
WordPress-Theme Twenty Twenty Four-customizing: how to do that - a Gutenberg special question...
By thedhubs,
- 2 answers
- 3210 views
-
- 0 replies
- 3 views
-
Question
mikeaag
Hey,
Im having some problems with a self hosted "CDN". Im using a wordpress plugin called W3 Total Cache to store images, css and js on a subdomain.
The problem is, some of the thumbnails that wordpress creates are not being uploaded to the cdn subdomain.
Is there anyway, using .htaccess, that i can redirect requests from cdn.mydomain.com/changing/path/to/image/picture.jpg to www.mydomain.com/changing/path/to/image/picture.jpg if that file does not exist on the cdn subdomain?
Thanks in advance
Mike
Link to comment
https://www.neowin.net/forum/topic/1057046-if-image-doesnt-exist-on-subdomain-redirect-it-to-different-domain/Share on other sites
3 answers to this question
Recommended Posts