HaCos Posted September 23, 2022 Share Posted September 23, 2022 (edited) 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 https://domain.com/41980-medium_default/image.jpg 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 September 24, 2022 by HaCos (see edit history) Link to comment Share on other sites More sharing options...
HaCos Posted September 24, 2022 Author Share Posted September 24, 2022 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now