How to force specific pages from http to https

| Last Updated: | In: Wordpress, WordPress Beginners, WP Labs


In this tutorial you will know How to force specific pages to be secure, ssl, https. This is very simple & easy snippet to use in your current WordPress website.

It very easy code, you can change this code as per your requirement. Open your functions.php file from your current active wordpress theme.

http-to-https

Add Filter

Below filter will force to redirect your web url from http to https.

Add below snippet in your theme’s functions.php file.

Tags: , , , ,


About: Prem Tiwari

Prem Tiwari is founder of freewebmentor.com and Software developer from New Delhi (India). Follow Prem's development codes on facebook, and make sure you check out freewebmentor.com for the latest in web development related Tips with the complete code.


You may also like:

Follow us!

Get Free Access of 350+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW