Back to Top

How to use SSL in WordPress

SSL with wordpress

Here I am going to share one quick article about to use SSL in WordPress site.HTTPS is highly recommended when transaction is processed in your site so to secure transactions,SSL is require in site.Nowadays HTTPS is very important for any kind of site you have and if you see now from every 1 from 5 site is in wordpress.

To activate SSL on your WordPress blog is very simple and easy to setup also.If you have idea about WordPress directory structure, you can easily setup SSL in WordPress.

Let’s see how to activate SSL in WordPress

1. Open your wp-config.php file and paste the following line of code into it:

define('FORCE_SSL_ADMIN', true);
define('FORCE_SSL_LOGIN', true);

Above code will secure WordPress logins and the entire wp-admin area or you can say entire admin panel will be secured after enabling this.

2. Next,Go to your WordPress General Settings which you can find out in the main menu of admin panel and change the WordPress Address (URL) and the Site Address (URL) from HTTP to HTTPS.

That’s it.you are done with steps to force WordPress to use SSL encryption.

Keep In Mind:

Sometimes first page for wordpress works fine but the permalinks are not working after the set up you have done for SSL explained above.so for that issue check your server apache configuration and verify that for the directory in which you have store your WordPress installation ,following settings enabled

< Directory var/www/ >
FollowSymLinks
AllowOverride All

If not, add above lines into your server virtual host and check permalink structure will work fine.

Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

how you can add Voice Search in WordPress

Posted on 6 years ago

Bhumi

What is Closure in JavaScript?

Posted on 2 years ago

Bhumi

How To Sort by custom fields in WordPress

Posted on 6 years ago

Zinal

What is Predefined Interface in PHP

Posted on 3 years ago

Bhumi

Top 10 JavaScript Charting Libraries

Posted on 4 years ago

Bhumi

The Reader’s Poll – June 2015

Posted on 3 years ago

Bhumi

The Reader’s Poll – August 2014

Posted on 4 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 4 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 5 years ago

Bhumi

The Readers’ Poll – August 2013

Posted on 5 years ago

Bhumi