日志标签 ‘wordpress’

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1605 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-wordpress tag-18">

用手机也可以发博客2.0

2022年4月7日

2013年的时候,发过一篇文章:用手机也可以发博客,那时候感觉好新奇,毕竟那时候用智能手机的人也还不是特别多。

现在再看,随着智能手机的发展,WordPress在移动互联网时代反而是略微落后了,可能原因就是漂亮国的公司跟不上天朝上邦移动互联网发展的速度吧。

我们对比一下2013年和2022年WordPress手机客户端的界面吧

2013年
2022年
Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1599 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-wordpress tag-190 tag-3 tag-4 tag-964">

1577天后的再一次更新

2022年4月6日

距离“人在岱北 静心聆泉”的上一次更新,已经过去了1577天,如果不是半个多月前忽然在浏览器地址栏里输入了域名,我都不知道我在“王牌主机”上购买的主机已经过期了半年有余……

虽然好久不再更新了,但是以前写的一些文字还是希望能保留一下,于是,最近半个月做了几件事情:

1、尝试了一下王牌主机的后台,虽然网站不能访问了,但是后台竟然还能登录,于是从后台把文件和数据库都备份下载了下来。

2、在阿里云上购买了99块钱一年的轻量应用服务器(60G,2核CPU,2G内存,1000GB/月流量,5Mbps),尝试把服务器从漂亮国搬回天朝;

3、阿里云要求网站必需完成备案,于是尝试把daibei.org域名从godaddy转移到阿里云,结果试了两天均是失败,最后才了解到,阿里云(国内)不再接受org域名转入。

4、重新注册了域名:daibei.info,并且通过阿里云进行ICP备案,从3月27日开始,过了一个清明假期,直到今天早上(4月6日)备案管局审批通过,有了新的备案号。

5、在此期间不断的尝试把wordpress的数据迁移到阿里云,但由于域名没有备案,一直没办法测试,今天晚上用了两个多小时的时间,总算是完成了……

从今天开始,人在岱北 静心聆泉站的域名正式变更为daibei.info

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1424 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-wordpress tag-191 tag-3">

新主题“XiaohanV2.0”

2011年5月11日

说实在话,之前的主题的风格还是比较喜欢的,但是,Cordobo Green Park主题对我来说,后台代码太复杂了,看不懂,捣鼓了半天,最后只好放弃了。

最近一段时间,也一直在网上关注别的主题,偶然的,发现了XiaohanV2.0这个主题,感觉还不错,上传到博客安装之后,试用了一下,发现还是不错的。感谢主题的作者萧涵.

主页:

点击查看大图

博客文章页面:

点击查看大图

主题下载地址:http://www.xiaohan86.com/201008910.html

主题相关文章:关于萧涵WORDPRESS主题V2.0的LOGO如何修改

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1401 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-mail-to-commenter tag-wordpress tag-191 tag-164">

求助:Cordobo Green Park 2主题如何添加Mail to Commenter的自定义按钮的代码

2011年3月11日

前几天博客装了Cordobo Green Park 2 主题,这个主题确实不错,很清爽,但是却发现这个主题的代码好像跟以前用过的有些不同。

由于不太懂后台代码,很多想修改的地方都找不到该在什么地方修改。
之前一直用
Mail to commenter插件,但是在这个主题里,我竟然找不到Mail to Commenter的自定义按钮的代码应该添加的位置。

Mail to commenter插件的设置界面的说明是:

自定义按钮显示:

这部分用来设定mailtocommenter_button()函数的输出内容和格式。请在模板文件中插入<?php if(function_exists(‘mailtocommenter_button’)) mailtocommenter_button();?>代码用于生成按钮。

 

之前用的主题也曾经被我找到了合适的位置,可是,为什么现在用的这个Cordobo Green Park 2 主题就是找不到了,把代码放在了好多地方测试,都无功而返……

哪位达人帮忙给看看,这个代码应该加在哪个文件的什么地方?

话说,刚装上主题的时候,想插入备案信息,结果在footer.php里面找了好久都没有找到插入备案信息的地方,最后竟然是在functions.php(主题支持函数)中找到了页脚的版权信息,sigh!

主题地址:http://wordpress.org/extend/themes/cordobo-green-park-2

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1400 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-php tag-wordpress tag-191 tag-164 tag-302">

春天新主题:Cordobo Green Park

2011年3月8日

WordPress的主题早就想换了,但是苦于一直都没找到个称心如意的主题,于是一拖再拖,昨天总算是下定了决心,要改头换面一下,于是Google了一下,找了好多的主题来试验。

网上的WP主题确实是不少,当然,WP后台也可以直接搜索主题,直接安装。但是发现好多的主题放在我博客上并不是很适用,挑选了好久,总算找到了这一款叫做Cordobo Green Park的主题,很清新,也很爽快。绿色的横条让人感觉到春天的气息……

Wopus上对它的介绍同样简洁:

一款清爽的绿色主题
完全兼容WordPress的2.7.1和2.8
支持WordPress的小工具
此版本对CSS进行了优化,载入迅速,对SQL数据库的查询降到最低限度的
支持Twitter插件

大家可点击下方链接下载:

下载

用了一个晚上的时间,为主题添加了广告、加上了一些常用的插件……可是有一个问题一直没有解决:

Mail to Commenter的自定义按钮的代码没有找到放的地方。

或者干脆是:没有找到可以编辑“评论列表”的地方……sigh

偶不懂html、php、asp在内的所有代码,哪位代码达人帮忙给看一下下?

立此存照(点击图片查看大图):

新主题首页:

Cordobo Green Park 2

新主题日志页:

Cordobo Green Park 2

原博客主页:

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1329 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-wordpress tag-3 tag-164">

测试几个插件

2011年3月1日

本篇博客用作测试Wp2Sinablog、Wp2HiBaidu、Wp2Sohublog三个worderpress插件,请众博友忽略~

经测试:Wp2Sinablog、Wp2Sohublog完美的完成了自己的任务,但是百度空间上并没有看到文章同步过去。

这个系列的插件还是很不错的,博友们可以直接在后台添加,搜索着几个插件安装激活。

安装的说明,可以到这里来看。

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1320 post type-post status-publish format-standard hentry category-dbview tag-chrome tag-theword tag-wordpress tag-164 tag-352">

我所使用的chrome扩展

2011年2月19日

Google扩展程序

用Firefox的童鞋肯定都知道扩展程序的好,有了扩展程序之后,世界美好了许多……

在浏览器的选择上,chrome出来之前,我宁愿用IE内核的Theworld或者是遨游,也很少用firefox,因为Firefox的启动太慢了……不过有了chrome之后,我就深深的爱上了它,启动速度快,浏览速度快,界面简洁。现在用了周鸿祎童鞋的360极速浏览器(chrome内核,但是还有IE兼容模式,可以顺利访问支付宝、网上银行等)之后,更加的热爱上了chrome……

最初chrome开始推出扩展程序的时候,曾经关注过,但是最初的时候扩展真的很少,这几天忽然发现chrome的扩展程序已经很多很多了,多得用不完……而且,很多真的是非常非常有用的,顿时感慨:生活真美好~!

用了一段时间,试用了一些,也淘汰了一些,最后留下了一些常用的扩展程序。

1、FaWave(发微)

现在是一个微博的时代,似乎没有微博就像要被社会淘汰一样……发微(FaWave),Chrome上的微博插件,支持多微博,真正的实时同步发送微博,多微博发送不再烦。目前支持的微博有腾讯微博(qq)、新浪微博(sina)、Twitter、搜狐微博(sohu)、饭否、做啥、嘀咕(digu)、人间网、雷猴、豆瓣、Google Buzz、网易微博(163)。 功能全面、强大,还可以批量发送图片。FaWave的理念不是简单的多微博同步,而是多微博管理,可以让你在同一个入口很方便的管理你的微博,让你所有的微博对于你、还有你的粉丝都是真正有价值的。

2、ScribeFire

虽然现在是微博的时代,但是依然无法掩盖博客的风光。ScribeFire貌似原来是Firefox上的一个博客插件,现在被迁移到chrome平台上,ScribeFire是一个全功能的博客编辑器插件,目前支持WordPress, Blogger, TypePad, Windows Live Spaces, Tumblr, Posterous, Xanga, LiveJournal, 以及其他支持 MetaWeblog 或 MovableType APIs的博客程序。

如今的这篇日志便是我利用chrome ScribeFire插件编辑的,与wordpress后台插件貌似很相近,但是感觉速度比较快、用起来没有任何的障碍。

3、网页截图

截取网页为图片,支持窗口截图,区域截图和整个网页截图三种方式。支持水平和垂直翻页截取超大网页,截图后,可以利用图片编辑工具编辑图片,然后将编辑后的图片保存下来即可。

4、PageRank Status

看名字,不用解释了吧?做网站或者独立博客的人应该没有不知道PR是干什么的……不光显示PageRank,还会可以显示实时的Aleax的排名。

5、Douban Pulse

豆瓣的插件,其实一般的功能在FaWave中已经实现了,但是Douban Pulse可以听豆瓣电台,边写博客边听歌,也是很惬意的……

6、Micro Clock

微型的时钟,直接显示在图标栏上

7、谷歌地图 + 生活通 

在地图上查找地点,浏览周围的好去处,不过说实在话,除了不用输入Google maps的网址之外,我还真没看出这个插件有多好的地方……


Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1295 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-windows-live-spaces tag-wordpress tag-879">

Windows Live Spaces将迁移至WordPress.com

2010年9月28日

Windows Live + WordPress.com

今天当登录Windows Live Spaces的时候,Windows Live会提示:将您的日志迁移到 WordPress.com

这也就意味着:微软将关闭已经运营了四年的Windows Live Spaces服务,并且在六个月内将用户数据(日志、图片和评论)迁移至WordPress.com。

虽然Windows Live Spaces的服务我一直都不喜欢,但是由于强大的MSN用户群的支持,依然有接近3000万的用户(数据来源:月光博客)使用,而且即使Spaces的速度相对比较慢,但是却非常的稳定,很少出现无法访问的情况。

现在微软放弃Windows Live Spaces服务的初衷还不甚了解,难不成微软与WordPress会有什么更深入的战略合作?

目前,你并不需急于迁移数据,因为微软留出了六个月的缓冲期:

最后日期为 2011年 3月,但您应该立即迁移到 WordPress.com!

  • 当前,您仍然可以在共享空间发布日志,并且由您决定何时迁移。
  • 从 2011年 1月开始,如果仍未迁移,您将无法向共享空间日志中添加内容,但现有内容仍然可见。同样的迁移、下载或删除日志的选项仍将可用。
  • 2011年 3月将是获取自己的资料的最后机会。立即开始迁移吧。

迁移后的一些不变和变化:

哪些内容会被迁移?

作为日志一部分的文本、照片、视频和评论也将按照当前在您共享空间中的显示方式进行迁移。我们还将尝试在此过程中清理部分垃圾信息。

  • 我们会自动将您的读者重定向到您的新 WordPress.com 日志,包括以前的固定链接。
  • 您的 Windows Live 个人资料、联系人和 SkyDrive 照片没有任何变化。您仍然可以与 Windows Live 好友以及在常用和喜爱的服务之间共享您的资料。
  • 如果您选择使用 Messenger Connect 将日志连接到 Windows Live,我们将在您的“个人资料”页上设置指向您的 WordPress.com 日志的链接。
哪些内容不会被迁移?
  • 您的草稿日志、主题、小工具、留言簿和列表将不会被迁移。

而Windows Live Spaces的用户可以有四种选择:

1、迁移至WordPress.com。

2、下载数据文件到本地。

3、无视迁移问题,继续访问spaces

4、斩断万千烦恼丝,直接删除spaces

看来我从2005年10月27日17:46:21开始的Spaces也要考虑下应该怎么处理了……

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1282 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-mail-to-commenter tag-wordpress tag-164 tag-302">

Mail To Commenter插件使用中的两个问题

2010年8月31日

Mail To Commenter插件在人在岱北博客已经用了好久好久了,但是由于SunQ本身就是一个圡人,并不懂后台,所以之前用的主题都是集成了Mail To Commenter插件的主题,我也就没有做过什么设置的工作,但是最近换了个主题,却发现主题并没有集成Mail To Commenter插件,最直接的问题是,没有回复按钮,让回复评论变得很累。

前一段时间一直都懒,也就没在意这件事情,昨天ryan同学在评论我的博文《可怜之人必有可恨之处》时,建议我加上回复评论按钮,这时我才想起来,这个按钮已经空缺了好久了……

如何加入回复评论的按钮

在Mail To commenter插件的设置界面,有这么一句说明:

自定义按钮显示:
这部分用来设定mailtocommenter_button()函数的输出内容和格式。请在模板文件中插入<?php if(function_exists(‘mailtocommenter_button’)) mailtocommenter_button();?>代码用于生成按钮。

也就是说,只要在想要的地方插入想要出现的地方,就可以在那个地方显示你所设置的回复按钮……

可是,应该在哪里插入这段代码呢?

研究了半天我现在所使用的这个GenkiTheme主题,感觉要么是在single.php中修改,要么是在comments.php中修改。虽然不懂php,英语也是弱智级别,但是简单的词语还是懂一些的。

眼对眼研究了好久,觉得还是应该在comments.php中添加这个代码……

在comments.php中发现了这么一段代码:

<?php foreach ($comments as $comment) : ?>

        <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
            <?php if (function_exists(‘avatar_display_comments’)){ avatar_display_comments(get_comment_author_email(),’48’,”); } ?>&nbsp;&nbsp;<strong><?php comment_author_link() ?></strong> | <a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date(‘F jS, Y’) ?> <?php _e(‘at’);?> <?php comment_time() ?></a> <?php edit_comment_link(‘e’,”,”); ?>

我想,这应该是评论的上方所出现的评论者信息栏吧,因为我看到了ID、date、time这样的字眼,而且重要的是,如果我用管理员登录后,会在这些信息的后面显示“e”,以用于编辑评论,而最后面那句“<?php edit_comment_link(‘e’,”,”); ?>”不正是编辑评论链接的表述嘛……

这正是我想放上回复评论按钮的地方,于是把那句代码粘贴在这段代码之后,更新文件。到前台刷新了一下,果然,评论按钮出现了!

解决邮件无发件人的现象

由于真的不懂代码,为了让自己的修改更保险一下,用Google搜了一下,虽然没有找到准确的答案,但是却找到了之前发现的一个问题的解决办法。

一年多以前了,2009年6月,自从wordpress升级到2.8以后,Mail To Commenter插件所发送的邮件就出现了问题:发送的邮件没有发件人,虽然基本功能还是能实现的,但是却真的有碍观瞻,说不定还会被人当作成垃圾邮件了……

在一个叫做Derek’s Blog的wordpress上,我找到了问题的解决办法:(以下内容转自:Mail To Commenter的未知发件人问题

修改Mail To Commenter插件目录下的文件mailtocommenter_functions.php,路径为****/wp-content/plugins/mailtocommenter,找到function mailtocommenter_send_email此行,照着修改(我是CP的),然后测试成功,收工。

function mailtocommenter_send_email($to,$subject,$message){
	$hostname = get_option('home');
	preg_match("/^(http:\/\/)?([^\/]+)/i",$hostname, $matches);
	$blogname = get_option('blogname');
	$blognameO = $blogname;
	$blogname .= " <no-reply@";
	$blogname .= $matches[2];
	$blogname .= ">";

	$charset = get_option('blog_charset');
	$headers  = "From: $blognameO <no-reply@$matches[2]> \n" ;
	$headers .= "MIME-Version: 1.0\n";
	$headers .= "Content-Type: text/html;charset=\"$charset\"\n";
	$to = strtolower($to);
	return @wp_mail($to, $subject, $message, $headers);
}
果然,按照Derek的方法修改之后,现在回复的邮件已经显示发件人了……
“困扰”了一年多的问题在偶然中找到了解决办法,正所谓“无心插柳柳成荫”呀……

启示

对网站做一些简单的修改,并不一定非要懂后台,懂代码,仔细分析一下代码内容,必要时借助一下Google,小问题也是可以轻松解决的!

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1239 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-wordpress tag-4 tag-45">

人在岱北博客主域名更换:www.DaiBei.org

2010年5月1日

费了九牛二虎之力,DaiBei.org的域名总算是由时代互联搬家到Godaddy.com了:EMS发送过去两个多月都没有收到转移密码,打电话给时代互联,告知密码早就已经发送,后来请求其重新发送一遍,在Gmail的垃圾邮件箱里面找到了转移密码的邮件~

DaiBei.org的域名比Sun-Q.cn的域名有如下优势:

1、cn域名远没有org域名要好,目前cn域名的问题太多了,一是域名被注册太多太滥了,另一方面cn域名的使用有很大的局限性。

2、Daibei.org曾经在信产部备案过,备案号:苏ICP备08017040号,即使以后使用国内的主机,应该也没有太大问题

3、DaiBei.org目前已经是美国域名了,中国信产部管不着啦……

域名转移到国外了,那就开始用吧。这里要感谢WPChina.org的Jiang总统,他的一篇如何更换WordPress博客网站域名让我的域名更换工作在半小时内完成了……

Step1、备份WordPress数据库及文件;

Step2、将WordPress的文件复制到DaiBei.org的根目录;

Step3、修改WordPress域名:由于我的数据库没有移动,所以直接在WordPress后台“设置”-“常规”里面将WordPress安装地址和博客地址都该为新的域名,保存。

检查一下,www.DaiBei.org已经完美替代了Sun-Q.cn……

由于Sun-Q.cn域名所对应的主机目录下的文件没有动,所以我也没有做301重定向。现在使用DaiBei.org和Sun-Q.cn都访问博客的任何页面。

不过有个问题就是,Sun-Q.cn域名失效后,博客文章中的一些站内链接是不是就无法正常访问了?难道我还要把每个文章都修改一遍?或者是持续续费下去?好歹,Sun-Q.cn也是一个PR=4的域名呀。

后续工作:

1、Feed地址链接更改:把一些Sun-Q.cn的痕迹都换成DaiBei.org的,FeedSky中的Feed源地址也换成DaiBei.org……

feedsky
抓虾
google reader
鲜果
有道
QQ邮箱

2、统计代码更新:CNZZ为了防止他人误用您的统计代码,产生垃圾流量,只统计域名列表中域名的流量,在域名列表中加入DaiBei.org就OK了

3、Google网站管理员工具中更换新域名:这样可以将原来Sun-Q.cn的访问记搜索引擎数据大部分的转移到新域名DaiBei.org上,而且貌似PR值也是跟着转的……

各位朋友,如果您的网站或博客上有人在岱北的链接,不要忘记把域名修改成DaiBei.org哟~