Secure Headers in .htaccess | WordPress.org

[ad_1]

Hi, i want to make wordpress a bit more Secure. I do it ín the file .htaccess with the following code:

<IfModule mod_headers.c>
     ...
     Header set Referrer-Policy: no-referrer
     Header set Set-Cookie HttpOnly;Secure
</IfModule>

but if i set these two statements, your plugin can no longer save the cookies in the browser.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer