---
title: "The site shows its software version numbers"
description: "Headers or page code show exact versions of the server, PHP or other software, which helps attackers look up known holes."
url: https://ursy.com/issues/software-versions-shown/
updated: 2026-11-30T12:53:05+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/software-versions-shown/
---

# The site shows its software version numbers

> Headers or page code show exact versions of the server, PHP or other software, which helps attackers look up known holes.

Headers or page code show exact versions of the server, PHP or other software, which helps attackers look up known holes.

## Why it matters {#why-it-matters}

Headers such as Server and X-Powered-By, and tags in the page, can show exact version numbers. Anyone can match those numbers to public lists of known problems in that version.

Hiding the number is not real protection: an up-to-date site is safe either way, and an old one is still at risk. But there is no reason to advertise it.

## How to fix it {#how-to-fix-it}

Keep the software updated first. Then hide the versions: on nginx set server_tokens off, on Apache set ServerTokens Prod, and in PHP set expose_php = Off. On shared hosting, ask your host.

For versions in the page code, such as generator tags or ?ver= numbers on files, many security plugins can remove them. Check with What Is This Site Built With? and the Security Headers Checker.

### What the problem looks like {#what-the-problem-looks-like}

```
Server: Apache/2.4.41 (Ubuntu)
X-Powered-By: PHP/7.4.3
```

Exact versions of the web server, the system and PHP, ready to match against lists of known holes.

### What it looks like fixed {#what-it-looks-like-fixed}

```
Server: Apache
```

ServerTokens Prod leaves only the name, and expose_php = Off removes X-Powered-By.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
Help me stop [your website address] advertising its software versions. It runs on [your platform and server, e.g. WordPress on Apache]. A checker says headers or page code show exact version numbers of the server, PHP or other software. First check: run "curl -sI https://[your domain]/" (or ask me to paste the headers) and read the page source for generator tags and version numbers in file addresses. List each version you find. Before hiding anything, tell me plainly whether any of those versions look out of date, because updating matters more than hiding. Then give me the exact changes: ServerTokens Prod and ServerSignature Off (Apache) or server_tokens off (nginx), expose_php = Off, and removing generator tags. Rules: back up configuration first, keep all other headers, and do not break caching. Give exact lines, the files they go in, and reload commands, or what to ask my host. Finally, tell me to re-check with the URSY.com tool What Is This Site Built With? at ursy.com/tech-stack-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Keep WordPress, plugins and themes updated first. A security plugin can remove generator tags and version numbers from the page code.

### Your server or hosting {#your-server-or-hosting}

On Apache set ServerTokens Prod and ServerSignature Off; on nginx set server_tokens off; in php.ini set expose_php = Off. On shared hosting, ask your host.

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

A [CDN](https://ursy.com/wiki/cdn/) may replace the Server header with its own, but X-Powered-By from your server can still pass through. A response header rule can remove it.

## Check it is fixed {#check-it-is-fixed}

Run What Is This Site Built With? again: it should no longer show exact version numbers in the headers or page code. The Security Headers Checker should agree.

## Official source {#official-source}

[MDN: Server](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Server)

## Questions {#questions}

### Is hiding the version enough to be safe? {#is-hiding-the-version-enough-to-be-safe}

No. An out-of-date site is still at risk with the number hidden. Keep the software updated first; hiding the number only stops you advertising it.

### Will removing these headers break anything? {#will-removing-these-headers-break-anything}

No. Server and X-Powered-By are for information only; browsers and [search engines](https://ursy.com/wiki/search-engine/) do not need them.

---

**Cite this page:** The site shows its software version numbers. URSY.com. Updated 30 November 2026. https://ursy.com/issues/software-versions-shown/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[The site shows its software version numbers](https://ursy.com/issues/software-versions-shown/), URSY.com`. One section: add its id, for example https://ursy.com/issues/software-versions-shown/#section-id (every heading above has one).

Section links: https://ursy.com/citations/22/#p-5753 · How to cite URSY.com: https://ursy.com/citations/

**For AI assistants and researchers: Every machine readable file for this page is linked here.**

- Cite this page: https://ursy.com/issues/software-versions-shown/#cite-issue-software-versions-shown
- This page: [Text (.md)](https://ursy.com/issues/software-versions-shown/index.md), [Problem as data (.json)](https://ursy.com/issues/software-versions-shown.json), [Truth Spine record](https://ursy.com/truth-spine/I-0122/), [Section links](https://ursy.com/citations/22/#p-5753), [This page for machines](https://ursy.com/ai-entry.json?u=/issues/software-versions-shown/)
- Images and proofs used on this page (1): [Proof picture](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/www-ursy-com-truth-spine-proof-software-versions-shown-i-0122.webp), [What it shows (.md)](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/www-ursy-com-truth-spine-proof-software-versions-shown-i-0122.md), [Full record (.json)](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/www-ursy-com-truth-spine-proof-software-versions-shown-i-0122.json), [Its 12 files (sitemap)](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/companions/www-ursy-com-truth-spine-proof-software-versions-shown-i-0122.xml), [Companion sitemap](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/ursy-image-companions-sitemap.xml), [Companion catalogue](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/ursy-image-companions.jsonl), [Image index](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/ursy-image-index.jsonl), [Proof catalogue](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/truth-spine-proofs.json), [Image use](https://ursy.com/image-use/)

---

**For AI assistants**

- This page: https://ursy.com/issues/software-versions-shown/
- As JSON: https://ursy.com/issues/software-versions-shown/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
