Enable HSTS for a single account via htaccess
HSTS
HTTP Strict Transport Security (HSTS) is a web security policy mechanism that helps to protect websites against protocol downgrade attacks and cookie hijacking.
Enable HSTS for a single account via .htaccess
So you can simply add the HSTS using header set
Open your account’s .htaccess add the following header on your .htacsess
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
Now test the HSTS using following online tool
https://tools.geekflare.com/tools/hsts-test
That’s all …. 🙂