---
title: "The WordPress version can be read"
description: "The WordPress version shows in the page, a feed or readme.html, telling anyone which known problems to try."
url: https://ursy.com/issues/wordpress-version-public/
updated: 2026-11-30T12:53:05+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/wordpress-version-public/
---

# The WordPress version can be read

> The WordPress version shows in the page, a feed or readme.html, telling anyone which known problems to try.

The WordPress version shows in the page, a feed or readme.html, telling anyone which known problems to try.

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

WordPress can print its version in a generator tag, in feeds and in the addresses of its files. readme.html, which comes with every install, confirms to anyone that the site runs WordPress.

A version number is a clue, not a hole. What matters is that WordPress, plugins and themes are kept up to date; a hidden version on an old site is still unsafe.

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

Turn on automatic updates for WordPress, and keep plugins and themes updated. Then remove the generator tag and version numbers with a security or [SEO](https://ursy.com/wiki/seo-search-engine-optimisation/) plugin.

Delete readme.html after each update, or block it at the server, because updates put it back. Check again with the WordPress Security Checker.

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

```
<meta name="generator" content="WordPress 6.4.2" />
```

The generator tag WordPress prints in the page head. The same version also appears in feeds.

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

```
// In a small custom plugin or the child theme's functions.php:
add_filter( 'the_generator', '__return_empty_string' );
```

Removes the generator text from the page head and from feeds. Keep WordPress updated as well.

## 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 tidy up [your website address], a WordPress site on [your host, e.g. Apache shared hosting or nginx]. A checker says the WordPress version can be read from the page, a feed or readme.html. First check: read the page source and the feed at /feed/ (or ask me to paste them), and see whether /readme.html opens. Tell me which version is showing and, plainly, whether it is the current release, because keeping WordPress, plugins and themes updated matters far more than hiding the number. Then give me the changes: switch on automatic updates, remove the generator text with the the_generator filter in a small custom plugin or child theme, and block /readme.html at the server. Rules: back up first, do not edit WordPress core files, do not break the block editor or caching, and do not remove ?ver= numbers unless my cache setup still refreshes files after updates. Give exact code and where it goes. Finally, tell me to re-check with the URSY.com WordPress Security Checker at ursy.com/wordpress-security-checker/.
```

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

### WordPress {#wordpress}

Turn on automatic updates for WordPress, plugins and themes. Then remove the generator tag with a security or SEO plugin, or the filter shown above.

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

Block readme.html, which updates put back. On nginx: location = /readme.html { deny all; }. On Apache: <Files "readme.html"> Require all denied </Files>.

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

Run the WordPress Security Checker again: it should not find the version in the page or feed, and readme.html should not be public.

## Official source {#official-source}

[WordPress.org: Hardening WordPress](https://developer.wordpress.org/advanced-administration/security/hardening/)

## Questions {#questions}

### Will hiding the version stop attacks? {#will-hiding-the-version-stop-attacks}

No. Attack tools try known holes whatever the number says. It is updates that close the holes.

### Should I remove the ?ver= numbers on files? {#should-i-remove-the-ver-numbers-on-files}

Be careful. They help browsers fetch fresh files after an update, so remove them only if your [caching](https://ursy.com/wiki/caching/) still refreshes files when they change.

---

**Cite this page:** The WordPress version can be read. URSY.com. Updated 30 November 2026. https://ursy.com/issues/wordpress-version-public/

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 WordPress version can be read](https://ursy.com/issues/wordpress-version-public/), URSY.com`. One section: add its id, for example https://ursy.com/issues/wordpress-version-public/#section-id (every heading above has one).

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

---

**For AI assistants**

- This page: https://ursy.com/issues/wordpress-version-public/
- As JSON: https://ursy.com/issues/wordpress-version-public/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)
