404 for Author Pages of Users Without Posts
Returns a 404 for the author archive of anyone who has never published, such as subscribers and customers, so their usernames and empty profile pages are not exposed.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Returns a 404 for the author archive of anyone who has never published, such as subscribers and customers, so their usernames and empty profile pages are not exposed.
Masks the last part of visitor IP addresses before the Redirection plugin stores them in its redirect and 404 logs, keeping the logs useful while respecting privacy laws.
Temporarily blocks visitors who hit more than 20 missing pages within a minute, a typical sign of vulnerability scanners probing for old plugins and backup files.
Adds a friendly 404 pattern with a message, a search box and a button home, offered when you edit the 404 template in the Site Editor.
Answers search requests that contain links, markup, very long strings or words you block with a 404, stopping bots from filling search pages with spam.
Makes yearly, monthly and daily archive pages return a 404, which avoids thin duplicate pages on most sites.
Turns search off: search URLs return a 404 page, the search form is emptied and the classic Search widget is removed.
Answers requests for missing images, CSS, JavaScript and font files with a tiny 404 instead of loading a full theme page, saving server time.
Stops the Redirection plugin from logging 404s caused by crawlers and vulnerability scanners (wp-login probes, .env and .php file hunts), so the log shows only real broken links.
Records the addresses visitors request that do not exist, with hit counts, last seen time and referring page, and lists them under Tools > 404 Log so you can fix or redirect them.
Sends visitors who hit a missing page to the homepage instead of showing the 404 template.
When an address like /services/old-offer/ no longer exists, sends visitors to the closest existing level above it, such as /services/, instead of a dead end.
Sends visitors from addresses of a previous static site, such as /about.html or /services/web.php, to the WordPress page with the same name.
After switching from /2019/05/post-name/ style permalinks to plain post names, sends visitors and search engines from the old dated addresses to the right posts.
Remembers the address of each post or page you move to the trash and sends later visitors to its category, parent page or the blog page instead of a 404, even after the trash is emptied.
Shows your "not found" page with a 404 status for categories, tags and other terms that have no published posts, instead of an empty archive.
Answers requests for pages you deleted on purpose with a "410 Gone" status instead of a 404, so search engines drop them from results faster.
Adds Tools > Rewrite Rules, listing every rewrite rule and showing which rule and query a URL path you enter would match, for debugging 404s and custom permalinks.
When someone opens a page number that no longer exists, such as /category/news/page/40/ after you deleted posts, sends them to the real last page instead of a 404.
Redirects visitors who hit a missing page in a secondary Polylang language to that language's homepage, so they are not dropped onto a 404 page.
When a visitor hits a missing page in a non-default WPML language, sends them to the homepage of that language instead of a 404, keeping them in their language.
When a logged-out visitor opens a private post or page, they are sent to the login screen and back again, instead of seeing a "not found" error.
Turns off the automatic redirect WordPress makes when a URL does not exist but looks similar to a post slug, so wrong URLs show a real 404.
When no Site Icon is set, WordPress answers /favicon.ico with its own logo. This returns a plain 404 instead, so your tab never shows the WordPress logo.