换域名~~~ weibin.me

/ #杂杂杂 / 4 comments

换域名了。weibin.me,意为I'am weibin,私人地段。呃~~~又是生日。。。

原域名wbyxu.com 跳转。

.htaccess 文件修改:


Options +FollowSymLinks
RewriteEngine on
rewritecond %{http_host} ^wbyxu.com [nc]
rewriterule ^(.*)$ http://weibin.me/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www.weibin.me$
RewriteRule ^/?$ "http\:\/\/weibin\.me" [R=301,L]

PhpMyAdmin执行:

更新博客地址

UPDATE wp_options SET option_value = replace(option_value,'http://wbyxu.com', 'http://weibin.me') WHERE option_name = 'home' OR option_name ='siteurl';

更新内容中的链接

UPDATE wp_posts SET post_content = replace(post_content,'http://wbyxu.com', 'http://weibin.me');

更新GUID

UPDATE wp_posts SET guid = replace(guid, 'http://wbyxu.com', 'http://weibin.me');
回应 / Cancel Reply
  1. yxu

    还是另一个节日的

    Reply
    1. weibin
      @yxu

      啥节日??

      Reply
  2. miracle

    哪有人一年过两个生日

    Reply
    1. @miracle

      呵呵,这事儿可以有~~~只是可惜太忙了

      Reply