You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WordPress博客RSS Feed 404错误及重定向问题求助

WordPress博客RSS Feed 404错误及重定向问题求助

Hey there, sorry to hear you're stuck with that RSS Feed 404 error! Since flushing permalinks didn't work, let's go through some more targeted troubleshooting steps to get your feed back up and running:

  • Check if RSS feeds are enabled in WordPress settings
    Head to your WordPress dashboard → Settings → Reading. Make sure the option "Allow people to feed posts and comments from your site" is checked, and the feed item count is set to a valid number (like 10). Sometimes this setting can get toggled off accidentally.

  • Test for theme or plugin conflicts
    First, switch your site to a default WordPress theme (like Twenty Twenty-Four) and refresh your /feed URL. If the feed loads, your current theme is likely blocking or breaking the feed—you'll need to check the theme's functions.php file for any code that disables feeds, or reach out to the theme developer for support.
    If switching themes doesn't help, disable all your plugins one by one, reloading the feed after each disable. When the feed starts working again, you'll know which plugin was causing the conflict.

  • Verify your .htaccess file (Apache servers)
    A corrupted or misconfigured .htaccess file can block feed requests. First, back up your current .htaccess file, then replace it with the default WordPress rewrite rules:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    

    Save the file, then go back to Settings → Permalinks and click "Save Changes" (this flushes permalinks again with the new rules).

  • Check for custom code disabling feeds
    Look through your theme's functions.php file or any custom code snippets you've added. If you see lines like remove_action('do_feed', 'do_feed_rss2'); or similar, comment them out or delete them—these are explicitly disabling your RSS feed.

  • Nginx server configuration check
    If your site runs on Nginx, make sure your server config includes rules that forward all requests (including feed URLs) to WordPress's index.php. Your location block should look something like this:

    location / {
        try_files $uri $uri/ /index.php?$args;
    }
    

    If not, update the config and restart Nginx.

Give these steps a shot and let me know if any of them fix the 404 error! If none work, we can look into more edge cases like server-level security rules blocking feed requests.

备注:内容来源于stack exchange,提问作者Javed Iqbal

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.23 12:14:04