Solution for 404 errors with SSL requests
-
If you find that this works:
http://www.example.com/custom-permalink/…but this doesn’t:
https://www.example.com/custom-permalink/Then perhaps this patch will help you:
https://gist.github.com/haroldkyle/5440567Hope that helps 🙂
Harold(Before applying this patch, I found that HTTPS requests returned a 404 error. The code as written uses get_option(‘home’) which always returns http://, when we need to actually use home_url() to respect the protocol of the request. I don’t understand why the plugin author would bypasses home_url() in his code, but this patch doesn’t seem to introduce any problems editing/viewing the custom permalink pages.)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Solution for 404 errors with SSL requests’ is closed to new replies.