Archive for the ‘建站日志’ Category

wordpress添加google广告

09.05.2010 by sunliguo - 0 Comment
Posted in 建站日志

如果用修改模板的方式添加google广告的话,可以试一下: Read the rest of this entry

Google PIN

09.05.2010 by sunliguo - 0 Comment
Posted in 建站日志

今天终于收到了传说中的PIN。 Read the rest of this entry

google 开始挣钱了

03.19.2010 by sunliguo - 0 Comment
Posted in 建站日志

今天打开google adsense 的账户,发现有$0.01了。 Read the rest of this entry

Blog换服务器了!

11.04.2009 by sunliguo - 0 Comment
Posted in 建站日志

Blog 换服务器了。 Read the rest of this entry

upgrade wordpress to 2.8.1

07.18.2009 by sunliguo - 1 Comment
Posted in 建站日志

今天突然想起要升级一下wordpress,作为第100篇,另做一下记录。
1:备份。把数据库备份一下(还好我的博客每天备份三次)。
2:删除原来的wp-includes 和 wp-admin这两个目录。这里面的东西我都没有修改。wp-content目录里是插件和主题,还有上传的文件。这个要保留。
3:wp-config.php 这个要备份。里面有数据库的配置。其余的东西覆盖。
4:登陆wordpres后,提示升级。如果一切顺利,就可以访问了。 Read the rest of this entry

新网站

07.06.2009 by sunliguo - 0 Comment
Posted in 建站日志

忙活了几天,也没个成果。 Read the rest of this entry

准备启用新域名

06.12.2009 by sunliguo - 0 Comment
Posted in 建站日志

今天晚上新注册了com的域名 Read the rest of this entry

Create WordPress Themes

05.19.2009 by sunliguo - 2 Comments
Posted in 建站日志

找到一个创建wordpress主题的教程
http://www.wpdesigner.com/2007/02/19/so-you-want-to-create-wordpress-themes-huh/ Read the rest of this entry

pietty.cn在国外解析的问题?

05.12.2009 by sunliguo - 0 Comment
Posted in Linux, 建站日志

怪不得每次申请Google AdSense的时候,总是说:网站浏览有困难。
blog.pietty.cn这个域名是用自己架设的服务器解析的。用网通的DNS服务器解析得到的结果是:piettye59bbde5a496e8a7a3e69e90 Read the rest of this entry

禁用AtuoSave

05.11.2009 by sunliguo - 0 Comment
Posted in 建站日志, 我的日志

写文章的时候,我wordpress总是在不停地保存历史版本。这对于能找到以前的东东很有用,但是对我却不重要。所以我禁用了它,在网上搜索一下,找到以下方法:
1:在配置文件中wp-config.php 添加
define(‘WP_POST_REVISIONS’,false);
//怎么在写这篇文章的时候,还有autosave?
又在网上搜了一下,修改成这样:
define(‘WP_POST_REVISIONS’, 0);
define(‘AUTOSAVE_INTERVAL’,600);
也是不太管用,没有都要用sql脚本把以前的东东删除。
2:在
wp-admin/post-new.php
wp-admin/post.php
wp-admin/page-new.php
wp-admin/page.php
中修改,注释掉wp_enqueue_script(‘autosave’); 这一行。
3:利用插件(不到万不得以,还是不用插件的好)
怎么删除以前数据库中保存的Revisions呢? Read the rest of this entry