Feedsот Internet Solutions

WordPress RSS Feed Not Working? Common Problems and Fixes

6 августа 2026 г.Время чтения: 8 минRSS-ленты
WordPress RSS Feed Not Working? Common Problems and Fixes

Short answer: Most broken WordPress feeds come from five causes: output before the XML (a blank line or PHP warning from a plugin or theme), broken rewrite rules that turn /feed/ into a 404, caching that serves an old copy, a plugin that disables or redirects feeds, and invalid characters inside a post. Test the feed with /?feed=rss2 and a validator, then switch off plugins and the theme one at a time until the error disappears.

A WordPress feed usually works without anyone thinking about it, which is exactly why a broken one can go unnoticed for weeks. Readers stop receiving updates, your RSS-to-email campaign sends nothing, your social posting tool goes quiet, and a partner site stops showing your news. Nobody complains, because nothing looks broken on the website itself. This guide shows how to recognise each type of failure, the likely cause, and how to fix it safely.

Step one: see exactly what is wrong

Before changing anything, collect three pieces of evidence. They usually point straight to the cause:

  1. Open the feed in a private browser window at /feed/. Note whether you see XML, an error message, your home page, a login page or a blank screen.
  2. Try the fallback address /?feed=rss2. If this works but /feed/ does not, the feed is fine and the problem is in permalinks or redirects.
  3. Run the feed through a validator, such as the W3C Feed Validation Service. It shows the line and character where parsing fails, which is essential for XML errors.

It also helps to check the HTTP status and headers with a command-line tool or your browser’s developer tools. A healthy feed returns status 200 and a content type such as application/rss+xml or text/xml.

Finally, note when the problem started. A feed that broke on a specific day almost always broke because of something that changed that day: a plugin update, a new theme version, a hosting migration, a new CDN rule or a particular post. Your hosting control panel, plugin update history and the list of recent posts often reveal the answer faster than any technical test. If several things changed at once, undo them one at a time on a staging copy rather than all together, so you learn which one was responsible.

“XML declaration allowed only at the start of the document”

This is the classic WordPress feed error, and browsers may show it as “XML parsing error” or a blank page. It means something printed text before the <?xml line, most often:

How to fix it: view the feed’s source and look at what appears before the XML declaration. If it is a PHP warning, the message names the file. If it is invisible whitespace, switch to a default theme temporarily; if the feed recovers, the culprit is in your theme, most often functions.php. If not, deactivate plugins one by one on a staging copy. The permanent fix is to remove the closing ?> from the end of pure PHP files, which is recommended practice anyway, and to turn off on-screen debug output on production sites.

The feed returns 404 or your home page

If /?feed=rss2 works but /feed/ gives a 404, WordPress’s rewrite rules are out of date. Go to Settings → Permalinks and click Save Changes without changing anything. This regenerates the rules and fixes most cases.

If the feed redirects to your home page or another URL, look for:

On Nginx servers, a missing or incorrect try_files rule can also break pretty feed URLs while leaving normal pages working, because feeds are virtual paths that WordPress must handle.

The feed works but shows old posts

A stale feed is almost always caching. Several layers may keep a copy:

Purge each layer and reload the feed with a cache-busting query such as /feed/?nocache=1. If that shows the new post but the plain URL does not, set a shorter cache time for feed URLs, or make sure your caching plugin purges the feed on publish. A short cache of a few minutes is fine; hours are too long for most sites.

Posts are missing from the feed

If the feed works but a specific post is absent, check these in order:

  1. Is the post published, not scheduled? Scheduled posts appear only after their publication time, and WordPress’s scheduling depends on WP-Cron, which runs when the site gets traffic. Low-traffic sites sometimes see “missed schedule” posts.
  2. Is it older than the item limit? By default only the latest 10 posts appear. Change it under Settings → Reading.
  3. Is it a custom post type? The main feed includes only standard posts unless a developer adds others.
  4. Is it excluded? Some plugins exclude categories or individual posts from feeds, and some sites deliberately hide certain categories.
  5. Is it password-protected or private? These do not appear in feeds.

Invalid characters and broken encoding

Sometimes the feed breaks only after a particular post is published. The usual causes are invisible control characters pasted from word processors or PDFs, or text in a legacy encoding. Strict parsers reject the entire feed because of one bad character, so a single post can silence every subscriber.

The validator will point to the offending line. Open that post, retype or paste the problem paragraph as plain text, and save. Also confirm that Settings → Reading or your wp-config.php uses UTF-8, which is the default on modern installs, and that the database tables use a UTF-8 collation.

Images, excerpts and formatting look wrong

These are not failures, but they make a feed much less useful:

Keep it from breaking again

Once your feed is healthy, a few habits prevent repeat problems:

If you rely on a third-party site’s feed rather than your own, you cannot fix their WordPress, but you can work around it. Our tool, Feeds, uses a site’s feed when it works and can create a feed from the site’s pages when it does not, so the list of articles keeps flowing to your reader or tools. Paid plans also alert you if a feed stops finding items. See the plans for details.

Related reading

The bottom line

A broken WordPress feed is usually caused by output before the XML, stale rewrite rules, aggressive caching, a plugin that disables feeds, or a single bad character in a post. Start with the fallback URL and a validator, which together tell you whether the problem is the feed itself or the way it is served. Fix the cause, not only the symptom, and check the feed after every significant change to your site.

FAQ

Why does my WordPress feed show an XML parsing error?

Something is printed before the XML declaration, usually whitespace after a closing PHP tag in the theme or a plugin, or a visible PHP warning. View the feed source to see what comes first, then disable the theme or plugins one by one to find the cause.

How do I fix a WordPress feed that returns 404?

Go to Settings → Permalinks and click Save Changes to rebuild the rewrite rules. If the feed still fails, check for plugins or server rules that disable or redirect feeds.

Why doesn’t my new post appear in my RSS feed?

Check that it is published rather than scheduled, that caches have been purged, and that it is a standard post not excluded by a plugin. Also remember that readers fetch on their own schedule, so a delay is normal.

Can a single post break the whole feed?

Yes. An invalid control character or broken encoding in one post can make strict parsers reject the entire feed. The validator shows the exact line, so you can clean up that post.

Should I disable RSS feeds on WordPress?

For most sites, no. Feeds cost almost nothing and serve readers, newsletters, automation tools and partners. Disabling them mostly removes a free distribution channel.

#Feed validation#RSS#WordPress
Создайте свою первую ленту — бесплатно.Лента с любой страницы. Каждый товар в каждом каталоге.
Начать бесплатно

Ещё из блога

Все статьи →
Internet Solutions

Другие продукты нашей команды

Сделано Internet Solutions. Попробуйте и другие наши продукты — каждый экономит время по-своему.

internet-solutions.net ↗
Автопостинг в соцсетиРаботает
PostRSS

Новые записи из вашего RSS-фида автоматически публикуются в Facebook, X, LinkedIn, Telegram и ещё 60+ сетях.

Бесплатный тариф · с 2014Перейти →
AI-чат для сайтовРаботает
Talkmio

Ваш сайт отвечает посетителям 24/7 на основе вашего контента и на их языке.

Бесплатный тариф · без картыПерейти →
AI-ассистентРаботает
Ask Mio

Чат, код, дизайн, тексты и исследования. Mio подбирает лучшую модель для каждой задачи.

Бесплатный тарифПерейти →
AI-автопилот для блога и соцсетейРаботает
AI Blog Autopilot

AI пишет SEO-статьи на 2000–3000 слов и публикует каждую в 58+ соцсетях.

Первые 3 статьи бесплатноПерейти →
Проверка здоровья сайтаРаботает
Site AI Audit

SEO, скорость, SSL, безопасность и настройка почты в одном отчёте — по порядку, что исправлять первым.

Первый аудит бесплатноПерейти →
Глубокий SEO-аудитРаботает
Site SEO AI Audit

Полное SEO-сканирование по 7 направлениям, включая видимость в AI-поиске, с исправлениями по степени влияния.

Первый аудит бесплатноПерейти →
Разработка сайтов и SEOРаботает
Internet Solutions

Сайты, интернет-магазины и индивидуальные системы — проектирует, создаёт и сопровождает наша команда.

С 2011Перейти →
Feeds
Обзор конфиденциальности

Этот сайт использует cookie, чтобы мы могли обеспечить вам наилучший пользовательский опыт. Информация cookie хранится в вашем браузере и выполняет такие функции, как узнавание вас при повторном посещении сайта, а также помогает нашей команде понять, какие разделы сайта вам наиболее интересны и полезны.