Redirect 404 to Homepage


Redirect all 404 missing links to the homepage using a 301 redirect. This means any old broken links will still count towards your site’s SEO ranking.

This plugin is designed to be very lightweight. There are no options or settings (or annoying banner ads trying to sell SEO services). Simply activate the plugin and you’re good to go. It will redirect 404s silently in the background without slowing down your website.


  • Works with any theme.
  • Works on any host.
  • Super lightweight (only 6 lines of code).
  • Helps with SEO.
  • Unlike other plugins, this is 100% free and we don’t sell upgrades/marketing.


  • Go to the Plugins > Add New screen in your WordPress dashboard.
  • Search for “404 to homepage”. Click Install and activate it.
  • That’s all! If you try accessing a page which does not exist, you will be redirected to the homepage.


Will this plugin work with my theme?

Yes, this plugin will work with any theme.

Will this plugin slow down my website?

Nope! This plugin will have no impact on your website’s speed.

How do I know it is working?

Try going to any link on your site which does not exist. e.g. You should be redirected to the homepage.


2024 年 3 月 29 日 1 則留言
Great plugin, saves so much time, flawless! thank you 🙂
2023 年 8 月 5 日 4 則留言
Unfortunately, it took me too long to find out that Google can't find my XML sitemap anymore since I activated the plugin. Trying to access my sitemap ended up on my websites homepage. I had to deactivate the plugin. Now my sitemap can be found again. [EDIT] The author modified the plugin so my XML sitemap is not redirected to the homepage anymore. The plugin should have a setting that allows users to exclude URLs from redirection.
2022 年 10 月 19 日
Plugin is working for my site. I like that there are no options and it just works right away. Thank you!
2021 年 7 月 28 日 1 則留言
This plugin redirects all links to homepage, and this is very harmful. Affiliate links do not work with this plugin. Instead of redirecting the 404 page to the front page, it redirects all links, including affiliate links, to the front page.
2021 年 6 月 4 日
Exactly as the description shows: no difficult settings or marketing. Just install and the plugin will do its job. Perfect!
閱讀全部 11 則使用者評論


以下人員參與了開源軟體〈Redirect 404 to Homepage〉的開發相關工作。


將〈Redirect 404 to Homepage〉外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Initial release.