Reputation: 21
I have website all the files are html and sub directory blog section is wordpress, In complete website there is no user login or signups are there, and we dont even have any cookies.
No my company forcing to add this, I tried all the ways but it doesn't work even in the wordpress.
I have used following codes for wordpress in wp-config
// ** X-Frame-Options Header ** //
header('X-Frame-Options: SAMEORIGIN');
// ** Cookie with HTTPOnly and Secure flag ** //
@ini_set('session.cookie_httponly', true);
@ini_set('session.cookie_secure', true);
@ini_set('session.use_only_cookies', true);
Upvotes: 0
Views: 233