-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite HTTP URLs to use HTTPS #19
Comments
See 3-year-old core patch for what it does: https://core.trac.wordpress.org/attachment/ticket/28521/28521.diff Note the proposed |
Hi @westonruter - I know there are a few working solutions that tackle this elsewhere already. For example, I've used Insecure Content Fixer in sites before during a transition to HTTPS: This may be helpful as we devise a solution here. |
From looking at the plugin directory, these seemed to me to be the most widely-adopted HTTPS-facilitating plugins:
|
Any self-referential URL that is served from the site—including URLs for links, images, videos, scripts, styles, etc.— should get re-written to use HTTP instead of HTTPS when the user has opted-in. See core ticket wp#28521:
Additionally, pages should be served with the upgrade-insecure-requests content security policy so that if there are any URLs that leak through which didn't get rewritten that supporting browsers (~80%) will then do it instead.
The text was updated successfully, but these errors were encountered: