404 Redirect to Homepage or Custom URL 1.0.0

Does "404 Redirect to Homepage or Custom URL" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 11.84 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/404-redirect-to-homepage-or-custom-url/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=404-redirect-to-homepage-or-custom-url%2F404-redirect-to-homepage-or-custom-url.php&plugin_status=all&paged=1&s&_wpnonce=8888921a9c
Aspect after-activation
HTTP status 200
Load time 0.248 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Settings → 404 Redirect

Page screenshot: Settings → 404 Redirect
URL /wp-admin/options-general.php?page=dp-404-redirect-settings
Aspect menu-item
HTTP status 200
Load time 0.147 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.169 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.504 s0.271 s-0.233 s3.51 MiB3.52 MiB+ 18.66 KiB
/wp-admin/edit.php0.242 s0.197 s-0.045 s3.57 MiB3.59 MiB+ 18.66 KiB
/wp-admin/post-new.php0.887 s1.149 s+0.262 s6.06 MiB6.08 MiB+ 22.29 KiB
/wp-admin/upload.php0.702 s0.559 s-0.143 s3.52 MiB3.52 MiB+ 1.26 KiB
/wp-admin/options-writing.php0.235 s0.201 s-0.034 s3.5 MiB3.51 MiB+ 5.25 KiB
/wp-admin/media-new.php0.270 s0.241 s-0.029 s3.49 MiB3.5 MiB+ 13.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.221 s0.205 s-0.016 s3.5 MiB3.53 MiB+ 24.12 KiB
/wp-admin/post-new.php?post_type=page1.082 s0.838 s-0.244 s6.05 MiB6.07 MiB+ 17.82 KiB
/wp-admin/options-discussion.php0.338 s0.276 s-0.062 s3.5 MiB3.5 MiB+ 1.75 KiB
/wp-admin/edit-comments.php0.463 s0.208 s-0.255 s3.52 MiB3.52 MiB+ 1.25 KiB
/0.305 s0.214 s-0.091 s3.43 MiB3.44 MiB+ 5.73 KiB
Average 0.477 s0.396 s-0.081 s3.97 MiB3.98 MiB+ 11.84 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP100.0%92391
Total 92 39 1

PHP Code Analysis | More results »

Lines of code 95
Total complexity 10
Median class complexity 10.0
Median method complexity 1.0
Most complex class DP_404_Redirect_To_Homepage_Or_Custom_URL
Most complex function DP_404_Redirect_To_Homepage_Or_Custom_URL::render_settings_page()
Classes 1
Methods 7
Functions 0

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "404 Redirect" Admin Menu