How to Add HSTS in WordPress | Set HTTP Strict Transport Security Header

preview_player
Показать описание
In this wordpress tutorial for beginners you will learn how to enable / set hsts header in wordpress website /domain using htaccess file.

* Find Code in Top Pinned Comment Section.
* Add code in .htaccess file.
* Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"

#hsts #htaccess #header #securityheaders #website #wordpress #wordpresstutorial #webtaskwithhassan #hassangilani
Рекомендации по теме
Комментарии
Автор

Add this code in .htaccess file.

<IfModule mod_headers.c>
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
</IfModule>

WebTaskWithHassan
Автор

what is the advantage of this ? does it improves SEO ?

ElectricalEngineeringApp