Why hide your website's software version numbers?
When your site tells every visitor exactly which software versions it runs, attackers can pick targets faster. How to hide them.
By HackSpot team (Amethyst Apps) · · 1 min read

Short answer: many websites announce exactly which software they run, for example "Apache/2.4.41" or "PHP/8.1.2" in their response headers, or "WordPress 6.2" in the page. Attackers scan for these to find sites with known flaws. Hiding them doesn't fix anything by itself, but it stops you standing out. It's a quick setting for your developer or host.
Where versions show
- Server header: web server name and version.
- X-Powered-By header: often the PHP version.
- Generator tag: many content systems add one to every page.
What to do
- Run a free HackSpot check to see what your site reveals.
- Ask your developer or host to hide the version numbers, and make sure the software itself is up to date. Hiding an old version doesn't make it safe.
Hello, our website [address] shows its software versions to every visitor ([list]). Could you hide these version numbers in the server settings, and confirm the software is up to date? Thank you.
Questions people ask
Is hiding the version enough?
No. Keep software updated. Hiding the version only makes your site a less obvious target.