Notice: Function register_sidebar was called incorrectly. No id was set in the arguments array for the "north_sidebar" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /var/www/vhosts/nvq.nl/wp-includes/functions.php on line 6170

Notice: Function register_sidebar was called incorrectly. No id was set in the arguments array for the "south_sidebar" sidebar. Defaulting to "sidebar-2". Manually set the id to "sidebar-2" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /var/www/vhosts/nvq.nl/wp-includes/functions.php on line 6170

Notice: Function register_sidebar was called incorrectly. No id was set in the arguments array for the "west_sidebar" sidebar. Defaulting to "sidebar-3". Manually set the id to "sidebar-3" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /var/www/vhosts/nvq.nl/wp-includes/functions.php on line 6170

Notice: Function register_sidebar was called incorrectly. No id was set in the arguments array for the "east_sidebar" sidebar. Defaulting to "sidebar-4". Manually set the id to "sidebar-4" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /var/www/vhosts/nvq.nl/wp-includes/functions.php on line 6170
nvq.nl » Verbeteren http-response-headers

Verbeteren http-response-headers

June 18th, 2016
Warning: Undefined variable $comments in /var/www/vhosts/nvq.nl/wp-content/themes/inove/page.php on line 10

Server Headers aanpassen:

sudo nano /etc/apache2/conf-available/security.conf

Pas daar de volgende waardes aan:

ServerTokens Prod

ServerSignature Off

 

Headers in je VirtualHost configuraties aanpassen:

Header always set Strict-Transport-Security “max-age=63072000; includeSubdomains; preload”
Header always set X-Frame-Options “SAMEORIGIN”
Header always set X-Xss-Protection “1; mode=block”
Header always set X-Content-Type-Options “nosniff”

 

Daarna Apache een herstart geven:

sudo apache2ctl configtest

en als alles goed is:

sudo apache2ctl restart

Comments are closed.