一。修改.htaccess文件
RewriteEngine On RewriteBase / RewriteCond %{http_host} ^99288.net.cn [NC] RewriteRule ^(.*)$ http://www.99288.net.cn/$1 [L,R=301] RewriteCond %{HTTP_HOST} ^5uvps.com$ RewriteCond %{REQUEST_URI} !^/idc/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /idc/$1 RewriteCond %{HTTP_HOST} ^5uvps.com$ RewriteRule ^(/)?$ /idc/index.shtml [L] RewriteCond %{HTTP_HOST} ^wap.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/phone/wap/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /phone/wap/$1 RewriteCond %{HTTP_HOST} ^wap.99288.net.cn$ RewriteRule ^(/)?$ /phone/wap/index.php [L] RewriteCond %{HTTP_HOST} ^js.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/js/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /js/$1 RewriteCond %{HTTP_HOST} ^js.99288.net.cn$ RewriteRule ^(/)?$ /404/index.html [L] RewriteCond %{HTTP_HOST} ^static.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/static/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /static/$1 RewriteCond %{HTTP_HOST} ^static.99288.net.cn$ RewriteRule ^(/)?$ /404/index.html [L] RewriteCond %{HTTP_HOST} ^youhui.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/fc/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /fc/$1 RewriteCond %{HTTP_HOST} ^youhui.99288.net.cn$ RewriteRule ^(/)?$ /fc/index.php [L] RewriteCond %{HTTP_HOST} ^css.qhdhqw.com$ RewriteCond %{REQUEST_URI} !^/CImg/qhdhqw/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /CImg/qhdhqw/$1 [L] RewriteCond %{HTTP_HOST} ^css.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/css/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /css/$1 [L] RewriteCond %{HTTP_HOST} ^phone.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/phone/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /phone/$1 RewriteCond %{HTTP_HOST} ^phone.99288.net.cn$ RewriteRule ^(/)?$ /phone/index.php [L] RewriteCond %{HTTP_HOST} ^dh.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/dh/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /dh/$1 RewriteCond %{HTTP_HOST} ^dh.99288.net.cn$ RewriteRule ^(/)?$ /dh/index.html [L] RewriteCond %{HTTP_HOST} ^kefu.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/kefu/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /kefu/$1 RewriteCond %{HTTP_HOST} ^kefu.99288.net.cn$ RewriteRule ^(/)?$ /kefu/index.html [L] RewriteCond %{HTTP_HOST} ^ip138.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/ip138/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /ip138/$1 RewriteCond %{HTTP_HOST} ^ip138.99288.net.cn$ RewriteRule ^(/)?$ /ip138/index.php [L] RewriteCond %{HTTP_HOST} ^www.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/www/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /www/$1 RewriteCond %{HTTP_HOST} ^www.99288.net.cn$ RewriteRule ^(/)?$ /www/index.php [L] RewriteCond %{HTTP_HOST} ^wolf.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/wolf/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /wolfcms/$1 RewriteCond %{HTTP_HOST} ^wolf.99288.net.cn$ RewriteRule ^(/)?$ /wolfcms/index.php [L] RewriteCond %{HTTP_HOST} ^book.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/xiaoshuo/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /xiaoshuo/$1 RewriteCond %{HTTP_HOST} ^book.99288.net.cn$ RewriteRule ^(/)?$ /xiaoshuo/index.php [L] RewriteCond %{HTTP_HOST} ^key.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/key/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /key/$1 RewriteCond %{HTTP_HOST} ^key.99288.net.cn$ RewriteRule ^(/)?$ /key/index.php [L] RewriteCond %{HTTP_HOST} ^cimg.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/CImg/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /CImg/$1 RewriteCond %{HTTP_HOST} ^cimg.99288.net.cn$ RewriteRule ^(/)?$ /www/index.html [L] RewriteCond %{HTTP_HOST} ^yimg.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/CImg/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /CImg/$1 RewriteCond %{HTTP_HOST} ^yimg.99288.net.cn$ RewriteRule ^(/)?$ /www/index.html [L] #Blog Dtart 22:27 2011/3/25 RewriteCond %{HTTP_HOST} ^blog.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/wordpress/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /wordpress/$1 RewriteCond %{HTTP_HOST} ^blog.99288.net.cn$ RewriteRule ^(/)?$ /wordpress/index.php [L] RewriteCond %{HTTP_HOST} ^conf.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/conf/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /conf/$1 RewriteCond %{HTTP_HOST} ^conf.99288.net.cn$ RewriteRule ^(/)?$ /conf/index.html [L] RewriteCond %{HTTP_HOST} ^tar.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/tar/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /tar/$1 RewriteCond %{HTTP_HOST} ^tar.99288.net.cn$ RewriteRule ^(/)?$ /tar/index.html [L] RewriteCond %{HTTP_HOST} ^soft.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/soft/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /soft/$1 RewriteCond %{HTTP_HOST} ^soft.99288.net.cn$ RewriteRule ^(/)?$ /soft/index.html [L] RewriteCond %{HTTP_HOST} ^baojie.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/baojie/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /baojie/$1 RewriteCond %{HTTP_HOST} ^baojie.99288.net.cn$ RewriteRule ^(/)?$ /baojie/index.html [L] RewriteCond %{HTTP_HOST} ^hiv.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/iz/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /iz/$1 RewriteCond %{HTTP_HOST} ^hiv.99288.net.cn$ RewriteRule ^(/)?$ /iz/index.html [L] RewriteCond %{HTTP_HOST} ^uc.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/uc/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /uc/$1 RewriteCond %{HTTP_HOST} ^uc.99288.net.cn$ RewriteRule ^(/)?$ /uc/index.php [L] RewriteCond %{HTTP_HOST} ^img.qhdhqw.com$ RewriteCond %{REQUEST_URI} !^/qhdhqw/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /qhdhqw/$1 RewriteCond %{HTTP_HOST} ^img.qhdhqw.com$ RewriteRule ^(/)?$ /qhdhqw/index.php [L] RewriteCond %{HTTP_HOST} ^shaibo.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/shaibo/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /shaibo/$1 RewriteCond %{HTTP_HOST} ^shaibo.99288.net.cn$ RewriteRule ^(/)?$ /shaibo/index.php [L] RewriteCond %{HTTP_HOST} ^host.99288.net.cn$ RewriteCond %{REQUEST_URI} !^/host/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /host/$1 RewriteCond %{HTTP_HOST} ^host.99288.net.cn$ RewriteRule ^(/)?$ /host/index.shtml [L]
三、SEO效果–robots.txt检测
域名:http://js.99288.net.cn
检测robots.txt效果:
实际robots.txt存放路径:
最新评论