{"id":229859,"date":"2025-05-17T19:26:25","date_gmt":"2025-05-17T19:26:25","guid":{"rendered":"https:\/\/de.wordpress.org\/plugins\/custom-404-handler\/"},"modified":"2025-05-17T19:26:12","modified_gmt":"2025-05-17T19:26:12","slug":"custom-404-handler","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/custom-404-handler\/","author":23274317,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.8.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Custom 404 Handler","header_author":"Jonas Kr\u00fcger","header_description":"Customized 404 page, error logging with analysis, automatic redirects and export functionality","assets_banners_color":"d3c1ae","last_updated":"2025-05-17 19:26:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/jfkconsulting.de\/","rating":0,"author_block_rating":0,"active_installs":40,"downloads":515,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"jfkconsulting","date":"2025-05-17 19:26:12"}},"upgrade_notice":{"1.0.0":"<ul>\n<li>Initial release of the Custom 404 Handler plugin.<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3295413,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3295413,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3295418,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3295418,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3295403,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3295403,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3295403,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3295403,"resolution":"4","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[905,976,906,1522,727],"plugin_category":[],"plugin_contributors":[242462],"plugin_business_model":[],"class_list":["post-229859","plugin","type-plugin","status-publish","hentry","plugin_tags-905","plugin_tags-custom-404","plugin_tags-error","plugin_tags-logging","plugin_tags-redirect","plugin_contributors-jfkconsulting","plugin_committers-jfkconsulting"],"banners":{"banner":"https:\/\/ps.w.org\/custom-404-handler\/assets\/banner-772x250.png?rev=3295418","banner_2x":"https:\/\/ps.w.org\/custom-404-handler\/assets\/banner-1544x500.png?rev=3295418","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/custom-404-handler\/assets\/icon-128x128.png?rev=3295413","icon_2x":"https:\/\/ps.w.org\/custom-404-handler\/assets\/icon-256x256.png?rev=3295413","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-404-handler\/assets\/screenshot-1.png?rev=3295403","caption":""},{"src":"https:\/\/ps.w.org\/custom-404-handler\/assets\/screenshot-2.png?rev=3295403","caption":""},{"src":"https:\/\/ps.w.org\/custom-404-handler\/assets\/screenshot-3.png?rev=3295403","caption":""},{"src":"https:\/\/ps.w.org\/custom-404-handler\/assets\/screenshot-4.png?rev=3295403","caption":""}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to take full control over how your WordPress site handles 404 (Not Found) errors. Instead of the default theme's 404 page, you can:<\/p>\n\n<ul>\n<li><strong>Display a Custom 404 Page:<\/strong> Choose any published page on your site to serve as your 404 error page.<\/li>\n<li><strong>Log 404 Errors:<\/strong> Keep track of which URLs are causing 404 errors, including the referring URL, IP address, and user agent. This helps identify broken links or malicious activity.<\/li>\n<li><strong>Analyze Logs:<\/strong> View statistics like the most frequent 404 URLs and top referrers directly in your WordPress admin.<\/li>\n<li><strong>Create Automatic Redirects:<\/strong> Easily set up 301 (permanent) or 302 (temporary) redirects for specific 404 URLs to send visitors to the correct content. Track redirect hits.<\/li>\n<li><strong>Export Logs:<\/strong> Download your 404 error logs as a CSV file for external analysis.<\/li>\n<li><strong>Optionally Redirect All 404s to Homepage:<\/strong> A simple option to redirect all 404 errors directly to your site's homepage.<\/li>\n<li><strong>Add <code>noindex<\/code> Tag:<\/strong> Automatically add a <code>noindex, follow<\/code> meta tag to your 404 pages (custom or default) to prevent search engines from indexing them.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>custom-404-handler<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the '404 Handler' -&gt; 'Settings' menu in your WordPress admin to configure the plugin.\n\n<ul>\n<li>Choose a custom 404 page (optional).<\/li>\n<li>Enable\/disable logging and set log limits.<\/li>\n<li>Configure homepage redirect and <code>noindex<\/code> options.<\/li>\n<\/ul><\/li>\n<li>Visit '404 Handler' -&gt; '404 Logs' to view logged errors and statistics.<\/li>\n<li>Visit '404 Handler' -&gt; 'Redirects' to manage your 404 redirects.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20create%20the%20404%20page%20content%20for%20me%3F'><h3>Does this plugin create the 404 page content for me?<\/h3><\/dt>\n<dd><p>No, you need to create a standard WordPress page first. Then, in the plugin's settings, you select that page to be displayed when a 404 error occurs.<\/p><\/dd>\n<dt id='will%20this%20slow%20down%20my%20site%3F'><h3>Will this slow down my site?<\/h3><\/dt>\n<dd><p>The plugin is designed to be lightweight. Logging occurs only on actual 404 errors, and redirects are checked efficiently. Performance impact should be minimal.<\/p><\/dd>\n<dt id='where%20is%20the%20log%20data%20stored%3F'><h3>Where is the log data stored?<\/h3><\/dt>\n<dd><p>Log data and redirect information are stored in custom tables (<code>wp_404_logs<\/code> and <code>wp_404_redirects<\/code>) within your WordPress database.<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20don%27t%20select%20a%20custom%20404%20page%3F'><h3>What happens if I don't select a custom 404 page?<\/h3><\/dt>\n<dd><p>If no custom page is selected in the settings (and the homepage redirect option is off), your theme's default <code>404.php<\/code> template will be used, but logging and redirects (if configured) will still function. The <code>noindex<\/code> tag will also be applied if enabled.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Customized 404 page, error logging with analysis, automatic redirects and export functionality.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/229859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=229859"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jfkconsulting"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=229859"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=229859"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=229859"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=229859"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=229859"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=229859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}