Robots.txt rewrite 1.6.1

Does Robots.txt rewrite work with WordPress 6.8.2 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.2
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=cafcd0953e
Aspect after-activation
HTTP status 200
Load time 0.237 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.487 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.223 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.372 s0.291 s-0.081 s3.51 MiB3.51 MiB+ 6.66 KiB
/wp-admin/edit.php0.193 s0.179 s-0.014 s3.57 MiB3.58 MiB+ 7.41 KiB
/wp-admin/post-new.php0.742 s0.594 s-0.148 s6.06 MiB6.07 MiB+ 11.09 KiB
/wp-admin/upload.php0.527 s0.315 s-0.212 s3.52 MiB3.51 MiB- 10 KiB
/wp-admin/options-writing.php0.192 s0.184 s-0.008 s3.5 MiB3.5 MiB- 6.01 KiB
/wp-admin/media-new.php0.266 s0.308 s+0.042 s3.49 MiB3.49 MiB+ 2.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.172 s-0.002 s3.5 MiB3.52 MiB+ 12.86 KiB
/wp-admin/post-new.php?post_type=page0.590 s0.598 s+0.008 s6.05 MiB6.06 MiB+ 6.63 KiB
/wp-admin/options-discussion.php0.287 s0.285 s-0.002 s3.5 MiB3.49 MiB- 9.51 KiB
/wp-admin/edit-comments.php0.195 s0.193 s-0.002 s3.52 MiB3.51 MiB- 10.01 KiB
/0.290 s0.195 s-0.095 s3.43 MiB3.44 MiB+ 2.15 KiB
Average 0.348 s0.301 s-0.047 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

[16-Jul-2025 20:58:54 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
[16-Jul-2025 20:58:55 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
[16-Jul-2025 20:58:57 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
[16-Jul-2025 20:58:57 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
[16-Jul-2025 20:58:58 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
[16-Jul-2025 20:59:00 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
[16-Jul-2025 20:59:00 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
[16-Jul-2025 20:59:01 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
[16-Jul-2025 20:59:01 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
[16-Jul-2025 20:59:01 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
[16-Jul-2025 20:59:03 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
[16-Jul-2025 20:59:03 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
[16-Jul-2025 20:59:04 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
[16-Jul-2025 20:59:04 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
[16-Jul-2025 20:59:04 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