admin管理员组文章数量:1130349
I'm setting up a multisite at the moment but I'm experiencing some issues. I don't know if this is supposed to happen or if it's an error.
We are using Bedrock + Trellis for the setup and deployment. The child sites are set up using 'sub directories' with domain mapping (no plugin).
The problem is that the 'child sites' are serving images, css and js files from the 'Main domain' instead of the child site.
Like so: /sites/7/2018/11/image.png
Is there a way to resolve this somehow using a NGINX rewrite rule or similiar?
Update: The media files are working correctly. It complains about CORS (Cross-Origin Resource Sharing) though, but I think it's better to solve the main issue before configuring SSL.
I'm setting up a multisite at the moment but I'm experiencing some issues. I don't know if this is supposed to happen or if it's an error.
We are using Bedrock + Trellis for the setup and deployment. The child sites are set up using 'sub directories' with domain mapping (no plugin).
The problem is that the 'child sites' are serving images, css and js files from the 'Main domain' instead of the child site.
Like so: /sites/7/2018/11/image.png
Is there a way to resolve this somehow using a NGINX rewrite rule or similiar?
Update: The media files are working correctly. It complains about CORS (Cross-Origin Resource Sharing) though, but I think it's better to solve the main issue before configuring SSL.
本文标签: Multisite Upload URL
版权声明:本文标题:Multisite Upload URL? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749169333a2326729.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论