A Multisite Network plugin that removes the automatic sitemap link (deprecated practice) and adds custom parameters/lines at the end of the default Robots.txt whenever called. It will enable small adjustments for each site on the network - like pointing again to specific sitemaps if needed - without sacrificing the default conventions coded to WordPress' core. To make the adjustments, look for a text area at the end of General Settings Page.
安装:
Upload the folder robotstxtextender to the /wp-content/plugins/ directory.
Network Enable the plugin.
Now you have a new text area on the Global Settings page.
Maybe you will have to edit the .htaccess file for this plugin to work. Just add the line RewriteRule robots.txt$ index.php?robots=1 to it.
常见问题:
I am getting a 404 message, or maybe the custom values are not being delivered.
Add the line RewriteRule robots.txt$ index.php?robots=1 to the .htaccess file.