作为Google的忠实用户,从07年开始注册Gmail账户一直使用至今,大部分搜索也是必用Google。但由于众所周知的原因,Google的服务在国内访问并不是很方便,各种翻墙工具、Google Hosts方法等等都会不定期的被封锁,最后只好自己动手,在自己的VPS服务器上搭建专用PPTP VPN,没事的时候就挂上VPN,终于不用再担心Google被封了。 先介绍背景: 服务器运行环境: Ubuntu 14.04 LTS,LAMP,使用Wordpress搭建个人网站。 需求:架设PPTP VPN科学上网浏览Google、Facebook、Twit

speed up website

博客架设在美国VPS服务器上,图的是服务稳定免备案,但缺点也是显而易见的,先不论GFW的风险,每次的访问请求都要走太平洋海底光缆一个来回,再加上国际出口带宽的限制,网站速度自然很难与国内服务器相比。 对于个人博客,预算有限,不可能花大价钱提升服务器硬件,也不觉得有必要购买CDN服务,那么只有榨干现有服务器资源、提升效率。如果你认为本站访问速度还不错也有折腾的兴趣,建议你继续往下阅读。 服务器端的优化 启用PHP自

其实不怎么满意现在文内广告的位置,本来是想通过判断WP中的more标签位置插入广告的,奈何自己总是很懒,加上毕业设计的任务压在头上,也就作罢了,忽然想起WP的短代码功能似乎可以实现此功能,于是翻了翻WordPress Popular Posts的代码,找出了此段代码,这样就可以轻松在博客文章或者WordPress侧栏中任意位置添加Adsense广告了。 代码很简单,把以下的代码加入到主题的functions.php中: function showad() { return ‘<div class=”advertise”> //这里放你的

WordPress have different user roles. These roles let administrator manage blog contributors works better. Author role in WordPress can not see much information from the dashboard. Sometimes, we may want to see what we have published. At that time, we can uses the following code to let Author see their own posts list.

When we write article, we often uses some external links to extent our content. These links will help other websites build search engine weightiness. If you don’t want to help your competitors, you should add “nofollow” to these links. One idea is to add rel=”nofollow” on each links manually. But, it will be a tough task. […]

As the ASP is very easy to use, many companies choose ASP to develop their IT solution on Windows 2000 Server + ASP + MSSQL. However, this idea also have its disadvantages.  And when your are going to transfer to linux, you will find big problems. There are two ways to transfer ASP to Linux. 1. […]

There are many open source PHP Scripts platform for webmasters. Some of them have a huge community. But some are not properly maintained. You will never want to be disturbed for a website platform bug. How to choose a suitable platform for your business? Here, I’ll compare 3 best blogging platform.

Online business acts a crucial role nowadays. But many entrepreneur don’t know how to increase their online revenue. They keep invest big money into online advertisement. While their page views number grows,  they see no increase of their profit. So how to increase online revenue? I got some practical experience.

Most of you run a website to make money. Whatever your website is, a blog or a portfolio website, the website performance is essential to your success. How to improve your website performance? Here I’d like to suggest some solutions.

All my works has been transferred to OX Theme Description: SimpleBlue is my first free widget supported Wordpress theme.  It’s simple but stylish. I used bold design on my color selection. A dark gray  background with a deep blur navigation bar makes SimpleBlue very bright-colored. I build 6 widget column for your convenience.  There are three in the sidebar. […]