Archive for the ‘Web Develop’ Category

Page 3 of 3«123

Poor Performance!

Last night Leon took the face to face interview at the Network Application Center of HUST’s Students’ Affairs Office.

Seeking for excitement, poor performance!

My Counselors has helped a lot before the interview. But unforturnately, I failed in answering any of the three simple questions the interview offical asked to me! I just don’t know what to answer, just because I have no idea of that!

While in fact, I just need something exciting to sitmulate myself. I did not mean to seize that opportunate.

And I lose as expected, I guess.

But thank you all the same, I think I have got what I really need. After the interview, I thinked a lot myself. My knowledge, my passion, my life, and myself.

Leon will always be remembering that night, on which I lose as expected. And thanks to that night, I understand myself more, much more.

Thanks a lot!

修改了我的.htaccess文件,开启mod_rewrite

 因为我的主机服务商的Apache服务器可以通过.htaccess文件开启mod_rewrite功能,加之刚刚换到wordpress,对那个静态日志的功能早已垂涎已久,所以更加迫不及待的向技术客服提交申请。

可是因为我的疏忽,给他们提交的代码竟然是不完整的,然而这在最后才被发现!在迷茫期间我和技术部互发了很多邮件讨论,最后,技术部竟然为我开通了自定义.htaccess文件的权限!这样就痛快多了。

因为.htaccess文件(只含扩展名)不同于普通的文件,所以制作和修改的方式也有些不同。

如果仅仅是为了满足wordpress的静态日志链接功能,可以通过下面的方法来完成:

  1. 前提是你的服务器为unix并且服务商允许你自定义.htaccess文件,以开启mod_rewrite。
  2. 用记事本创建一个htaccess.txt文档,内容为wordpress给出的代码。文档编码方式为ANSI格式。


    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php

  3. 使用面板工具或者ftp工具上传到你的wordpress安装目录(注意:并不不一定是网站的根路径,例如我的是http://www.lostleon.com/blog/目录下)。
  4. 通过面板工具或者ftp工具将htaccess.txt更名为.htaccess(红色部分,不要忘记前面的“.“。更名,之后,你会发现在ftp工具中已经看不到这个文件了,完全不必担心,这是正常的,因为.htaccess在ftp中是隐藏的。
  5. Done!

现在,你可以回到wordpress,在后台—选项—永久链接中,选择你喜欢的链接方式就ok了。

利用Sitemap让Google更快的抓取你的网站

  使用的基本手段是利用google自身提供的Webmaster,提交sitemap,使google更快的据此抓去你的网站。而google本身并不提供创建sitemap的工具,对于大多数人来说,自己编写会很费时间和精力。于是很多Stiemap创建网站也应运而生,鱼龙混杂。

在Leon所知的所有创建sitemap文件的网站中,XML Sitemaps 做的相当好。

XML Sitemaps提供在线和离线创建两种方式,后者是收费的,对于绝大多数人,使用在线的免费创建已经完全足够。 另外,这个网站创建Sitemap时所遵守的是被Google支持的最新的sitemap协议 Sitemap Protocol v0.9 。

在首页上填写好你的网站url,更新频率,及最后一次修改时间。 如果你不明白后两者的含义,保留默认数值即可。Start之后,XML Sitemaps会花费一段时间来创建你所指定站点的sitemap,时间长度取决于你的网站规模。创建结束之后,将生成的sitemap.xml下载到本地,然后上传到Google Webmaster。

googlesitemap-generator-1.jpg

  ok,等待Google的蜘蛛工具来抓取你的网站吧。 最后贴一张有人画的GoogleBot的想象图,很幽默呵呵。

google-googlebot-bot.jpg

Del.icio.us : Google, sitemaps

在线调配网页颜色

功能很全的,很适合调整网页的color,也许对adsense也有用处哦

Page 3 of 3«123
  • 全文搜索

  • 按月存档

  • 请猛点这里

    标签云

  • 最新评论

    • BARNETT34Julie: It is understandable that money makes us independ...
    • glwzu: 我唯一的一次心甘情愿的点了下广告...
    • 老鼠: @nic 在那上面右击就知道怎么做了...
    • 浩浩: 如何写入自己的内容和链接啊,希望...
    • temp: 哈哈,就是,被个鸡巴毛...
    • tattoo: 感謝分享,這是偉大的...
    • 蛋蛋: 拿走试试看啦!!也点击了广告了!...
    • strayboy: hehe,小师弟,慢慢的了解社会了。计...
    • 午夜客: 支付宝的确做的非常好...
    • 午夜客: 手绘功底不错呀...
  • 纵横坐标