Jump to content

images not working after adding cdn domain


HaCos

Recommended Posts

Heyo,

I created a subdomain ponting to my main domain in order to use it as a media server.
A product image before adding the media server is being served from a url that looks like:

Quote

While the "41980-medium-default" path not exist the image is rendering..
The problem show up when i add the media server where the url that is generated looks like:

Quote

https://sub.domain.com/41980-medium_default/image.jpg

The urls after the use of media server redirect to home page.. and no product image is  rendering correctly.
If i call any other file that exist as file path on main site such as domain.com/img/anything.png it works fine under sub.domain.com..
I already tried reseting htaccess with no success.

Edited by HaCos (see edit history)
Link to comment
Share on other sites

  • HaCos changed the title to images not working after adding cdn domain


After checking the rules in htaccess file.
Although the file has been regenerated, it did not create additional rules for each subdomain i added in media server. 
After i copied and placed the image rules for each subdomain everything worked just fine.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...