wordpress - Wordpress app behind ELB jQuery not defined
问题描述
I have configured an ELB on AWS and defined path routing rules in the following way:
www.example.com -> navigates to a React app
www.example.com/blog -> Navigate to a wordpress app
The problem I have is that when I navigate to my wordpress app I get lots of error because it tries to fetch all content from www.example.com, whereas that content is on my wordpress server.
How can I configure my wordpress app to fetch images from the server where it is actually hosted, instead of fetching them from www.example.com?
解决方案
推荐阅读
- pymc - PyMC3:当使用时间序列的形状参数时,时间是在行轴还是列轴上?
- ios - 视图中的 UIButton 动画未检测到触摸
- pip - 如何在不删除依赖包的情况下修复 anaconda 中损坏的 pip?
- python - 使用spark python按键从json字典RDD中选择和分组字典条目
- elasticsearch - 在 Laravel v5.6 上将过滤后的数据传递给 Datatables v8
- python - 多线程和无限循环如何协同工作
- spring - Spring Boot JUnit 和 @TestPropertySource 使用多个属性文件
- c# - 多次枚举返回任务的Linq Select查询
- php - WordPress 端点创建 - 使用字符串传递引号的回调
- json - 在 Groovy 中将列表添加到 Map 对象