Change all occurrences of “http” to “https” on a wordpress page

后端 未结 8 1497
心在旅途
心在旅途 2021-02-04 19:33

I am in the process of implementing SSL on some of my wordpress-powered site\'s pages. Currently I\'m getting mixed content warnings on the secured pages - my custom theme inclu

8条回答
  •  一向
    一向 (楼主)
    2021-02-04 20:17

    I think that you should be doing this on the server side, via setting a cookie or something like that instead of using JavaScript to handle such a potentially dangerous security hole.

提交回复
热议问题