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.

Features

  • 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. www.example.com/this-does-not-exist. You should be redirected to the homepage.

評價

2024年3月29日 1 reply
Great plugin, saves so much time, flawless! thank you 🙂
2023年8月5日 4 replies
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 reply
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.
閱讀全部12個評價

貢獻者及開發者

“Redirect 404 to Homepage” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial release.