本站robots.txt设置和sitemap.xml

[[email protected] /]#more robots.txt
User-agent: *
Disallow: /wp-
Allow: /wp-content/uploads/
Disallow: /?
Disallow: /feed
Disallow: /*/*/feed
Disallow: /trackback
Disallow: /*/*/trackback
Disallow: /index.php?
Disallow: /index.php/
Disallow: /*.php$
Disallow: /*.css$
Disallow: /date/
Disallow: /page/
Sitemap: https://www.itkylin.com/sitemap.xml
[[email protected] /]#wget http://downloads.wordpress.org/plugin/google-sitemap-generator.3.2.4.zip
[[email protected] /]#touch sitemap.xml
[root@www.itkylin.com /]#chmod 777 sitemap.xml
[[email protected] /]#touch sitemap.xml.gz
[[email protected] /]#chmod 777 sitemap.xml.gz