[Resolved] Hosting images on subdomains, several errors
I am completely stuck here, maybe someone can help me find a solution.
– Set up subdomain images.mydomain.com to /www/wp-content/uploads
So far so good.
I put up a SQL order telling my server to reroute all http://www.mydomain.com/wp-content/upload requests to images.mydomain.com/
Now… because I didn´t want to change the image urls on all the sites and posts I set up a 301 redirect in the .htaccess file also telling to reroute to images.mydomain.com.
But it all does not seem to work because it is still loading most images via the main domain or it is not loading anything. But the header image for example loads via the subdomain for WHATEVER reason.
And the thumbnails in WP Media Library are gone, too.
Can someone please tell me the configuration of:
– What exactly to put in WP/Settings/Media
– What to tell SQL
– What to put in .htaccess
And what the heck I´m doing wrong?
I didn´t know if it was appropriate to post my link here but I sure could do that to show you the Source code.
Thanks a lot this would help me a lot as I´m stuck here for about 7 hours now…
- The topic ‘[Resolved] Hosting images on subdomains, several errors’ is closed to new replies.