.htaccess文件备份及robots.txt备份

/ #电脑相关 / 1 comment

域名301重定向

RewriteEngine on
RewriteCond %{HTTP_HOST} ^wbyxu.cn$ [OR]
RewriteCond %{HTTP_HOST} ^www.wbyxu.cn$
RewriteRule ^(.*)$ http://weibin.me/$1 [R=301,L]

wordpress自己的重定向文件

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

robots.txt文件备份。。难道写的有问题?

User-agent: *
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content
Disallow: /trackback
Disallow: /feed
Disallow: /category/*/*
Disallow: */trackback
Disallow: */feed*
Disallow: */comment-page-*
Disallow: *?*
Disallow: *?
Disallow: *?replytocom=

Sitemap: http://weibin.me/sitemap.xml
Sitemap: http://weibin.me/sitemap.xml.gz
回应
  1. wbyxu

    今天 决定 把robots.txt修改了 管它怎么爬~~

    Reply