Robots.txt `host` directive
-
First, thanks for a great CMS.
Second, i suggest to add an option to add custom lines to robots.txt file somewhere on a settings page.
In addition, there is a good idea to put
Host
directive in robots.txt^ it is required for some search engines (like Yandex.ru) and can result in site being banned if there are too many cnames/aliases pointing to one real site.I found the temporary solution in the following:
functions.php:1108:$output .= "\n"; $output .= "Host:". parse_url ( get_option ('siteurl'), PHP_URL_HOST )."\n";
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Robots.txt `host` directive’ is closed to new replies.