Robots.txt rewrite 1.6.1

Does Robots.txt rewrite work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
15PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1.22 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/robotstxt-rewrite/
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=robotstxt-rewrite%2Frobotstxt-rewrite.php&plugin_status=all&paged=1&s&_wpnonce=825446292a
Aspect after-activation
HTTP status 200
Load time 0.286 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Settings → Robots.txt Options

Page screenshot: Settings → Robots.txt Options
URL /wp-admin/options-general.php?page=robots-txt-options
Aspect menu-item
HTTP status 200
Load time 0.506 s
Memory usage 3.54 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.192 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.360 s0.280 s-0.080 s3.51 MiB3.51 MiB+ 6.66 KiB
/wp-admin/edit.php0.210 s0.192 s-0.018 s3.57 MiB3.58 MiB+ 7.41 KiB
/wp-admin/post-new.php0.794 s0.644 s-0.150 s6.06 MiB6.07 MiB+ 11.09 KiB
/wp-admin/upload.php0.552 s0.629 s+0.077 s3.52 MiB3.51 MiB- 10 KiB
/wp-admin/options-writing.php0.202 s0.270 s+0.068 s3.5 MiB3.5 MiB- 6.01 KiB
/wp-admin/media-new.php0.264 s0.247 s-0.017 s3.49 MiB3.49 MiB+ 2.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.266 s0.187 s-0.079 s3.5 MiB3.52 MiB+ 12.86 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.616 s-0.002 s6.05 MiB6.06 MiB+ 6.62 KiB
/wp-admin/options-discussion.php0.270 s0.241 s-0.029 s3.5 MiB3.49 MiB- 9.51 KiB
/wp-admin/edit-comments.php0.212 s0.208 s-0.004 s3.52 MiB3.51 MiB- 10.01 KiB
/0.304 s0.218 s-0.086 s3.43 MiB3.44 MiB+ 2.15 KiB
Average 0.368 s0.339 s-0.029 s3.97 MiB3.97 MiB+ 1.22 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.

LESS
CSS
PHP
Language % Lines of code Comment lines Files
LESS44.2%2,7492664
CSS36.3%2,2571111
PHP14.2%887973
JavaScript3.7%228162
Markdown1.4%8801
JSON0.3%1601
Total 6,225 490 12

PHP Code Analysis | More results »

Lines of code 897
Total complexity 163
Median class complexity 36.0
Median method complexity 2.0
Most complex class AtfHtmlHelper
Most complex function RobotsTxtRewrite_Admin::save_options()
Classes 3
Methods 40
Functions 1

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 15 lines

[01-May-2025 16:02:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:15 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[01-May-2025 16:02:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
See also: All tests for this plugin, How to Hide the "Robots.txt Options" Admin Menu