How to Enable Secure Cookies in WordPress?

Table of Contents

Cookies are small pieces of data that are stored on the user’s device and are used to maintain user sessions, remember login credentials, and store other session-related information. However, if not secured, cookies can become a gateway for attackers to gain unauthorized access to sensitive information. Therefore, it’s crucial to secure cookies of your WordPress website.

There is no option to enable secure cookies in WordPress by default. But if you are using the Nexter Extension (Free) plugin, you can easily enable the secure cookies of your WordPress website. 

What is Secure Cookies?

In WordPress, secure cookies are a security feature designed to enhance the protection of user authentication and session data by ensuring that cookies are only transmitted over secure, encrypted connections (HTTPS). 

How to Enable Secure Cookies with the Nexter Extension?

To enable secure cookies with the Nexter theme, from the WordPress Dashboard, go to Appearance > Nexter Settings > Security.

Then go to the Advanced Security section and click the Settings button.

advanced security settings

It will open the Advanced Security popup, then enable the Secure Cookies toggle and click the Save button. 

secure cookies

Now, your website cookies will only transmitted over secure, encrypted connections (HTTPS) and it will be accessible by your website only.