形容一下:
1. wordpress 在 localhost:8000,在 docker 中访问,没有任何问题.
2. 各种浏览器的普通模式访问 localhost:8000,浏览器会自动跳回到 localhost, 但是访问 localhost:8000/index.html 后一切正常(包括访问其他网页)
3. 各种浏览器的无痕模式访问 localhost:8000,一切网页正常.
4. 没有开 ssl,就是普通的 http
5. 没有写.htaccess.
6. wp-config 的 home 和 siteurl 都是 http://localhost:8000/
7. 已经清了缓存
1. wordpress 在 localhost:8000,在 docker 中访问,没有任何问题.
2. 各种浏览器的普通模式访问 localhost:8000,浏览器会自动跳回到 localhost, 但是访问 localhost:8000/index.html 后一切正常(包括访问其他网页)
3. 各种浏览器的无痕模式访问 localhost:8000,一切网页正常.
4. 没有开 ssl,就是普通的 http
5. 没有写.htaccess.
6. wp-config 的 home 和 siteurl 都是 http://localhost:8000/
7. 已经清了缓存