以前的博客一直用的是http://blog.okevin.net,现在直接切换到主域名http://www.okevin.net。可以预知的是,订阅的同学们可以遇到多篇新文章,直接全部设置为已读即可,给大家带来的麻烦,深表歉意。
另外,谁会通过改写.htaccess使得301重定向的blog.okevin.net跳转到www.okevin.net。我只会使得okevin.net转到www.okevin.net。
以前的博客一直用的是http://blog.okevin.net,现在直接切换到主域名http://www.okevin.net。可以预知的是,订阅的同学们可以遇到多篇新文章,直接全部设置为已读即可,给大家带来的麻烦,深表歉意。
另外,谁会通过改写.htaccess使得301重定向的blog.okevin.net跳转到www.okevin.net。我只会使得okevin.net转到www.okevin.net。
You must be logged in to post a comment.
> xyname Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
22 6 月, 2010 at 下午1:33
RewriteEngine On
RewriteCond %{HTTP_HOST} ^blog.okevin.net [NC]
RewriteRule ^(.*)$ http://www.okevin.net/$1 [L,R=301]
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> fisker Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
23 6 月, 2010 at 上午3:05
RewriteCond %{HTTP_HOST} !^www.okevin.net$ [NC]
RewriteRule .? http://www.okevin.net%{REQUEST_URI} [R=301,L]
这个能成功吗
PHP里面判断下REQUEST_HOST 跳转下也可以,我的站一大堆域名都转到主域名的。
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Undefined variable $oddcomment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 86