wordpress tweaking

Turn Off Server Signature with Htaccess

Whenever Apache2 web server returns error pages (such as – 404 not found, 403 access forbidden pages), it shows web server signature (like – Apache version number and operating system info) at the bottom of the pages.

Turn Off Server Signature

Exposing web server signature with server info can be a security risk as you are unnecessarily telling attackers known vulnerabilities of your system. Thus it is recommended you disable all web server signatures as part of server hardening process.

To check your Server Signature is ON OR OFF via Online Service, visit http://seositecheckup.com/ It will show the details of your server signature.

Turn Off Server Signature

If your server signature is OFF then it is fine. You have nothing to do with it. But if it is not, then place this below code at root .htaccess file. Save and upload it.

# Disable the server signature
ServerSignature Off
ServerTokens Prod

Published by

Emdad Khan

I am Emdad Khan, A WordPress Theme Developer and Author of BN Web Design Website. A full time Freelancer on WordPress Theme Development & Optimization as well as blogger.

One thought on “Turn Off Server Signature with Htaccess”

  1. We stumbled over here different web address and thought I may as well check things out.
    I like what I see so now i am following you. Look forward to
    looking at your web page for a second time.

Leave a Reply