Force specific WordPress pages to be secure, ssl, https

You can easily force specific pages to be secure in wordpress using the following simple little snippet. Just add the following snippet to the functions.php of your wordpress theme and specify the post / page ID desired.

Instructions
Add this code to your functions.php file.

Comments

2 Replies to “Force specific WordPress pages to be secure, ssl, https”

Leave a Reply

Your email address will not be published. Required fields are marked *

Siteground Web Hosting

Snippet Info

Tested with Wordpress v. 4.7.1
Review Status: Needs Review

Force specific WordPress pages to be secure, ssl, https
3.6 (72%) 5 votes
Please report broken snippets.
Report Broken Snippet
WP Engine