7步完成Wordpress安装

 21 Mar 2008 0 Comments

1. 点此下载最新版本的Wordpress 程序包,下载的文件格式应为.ZIP。
2. 用解压缩软件,如WinRAR, 将程序包解压。
3. 找到解压后目录中的wp-config-sample.php 文件,用文本编辑软件,如notepad即记事本,打开它。
4. 关键所在,即填写你的MySQL 数据库信息,这些信息由你自己在虚拟主机服务商提供的设置面板中定义,或者是由网络管理员默认配给。在wp-config-sample.php 文件的开始的部分,你会发现类似如下的代码:
1. define(‘DB_NAME’, ‘putyourdbnamehere’); // 把putyourdbnamehere用你的MySQL 数据库名字代替
2. define(‘DB_USER’, ‘usernamehere’); // 把usernamehere用你的MySQL 数据库用户名代替
3. define(‘DB_PASSWORD’, ‘yourpasswordhere’); // 把yourpasswordhere用你的MySQL 数据库密码代替
4. define(‘DB_HOST’, ‘localhost’); // 这一行不需要修改
按照我中文所说的要求,填写相关的信息即可。以“另存为”的方式将wp-config-sample.php 文件改名为wp-config.php 保存。
5. 用FTP 软件,如FladhFXP,将所有解压后wordpress目录内的文件及文件夹,上传至你虚拟主机上想放置Wordpress的目录。
1. 上传时所需的主机地址、用户名、密码等服务商或管理员会提供给你。
2. 想放置Wordpress的目录由你自己决定,可以是根目录,也可以是你自己定义的新目录,它将决定你的Blog将以什么样的地址进行访问。放在根目录下,就可以用http://seanchenxi.com/访问我的Blog,如果放到如/blog/目录下,那么访问这个Blog 就要输入http://seanchenxi.com/blog/才行。
6. 在地址栏中输入http://你的域名/wordpress目录(如果你上传文件到根目录下,这一部分不需要)/wp-admin/install.php来执行安装工作,例如http://domainname.com/wp-admin/install.php 或者http://yourdomainname.com/wordpress/wp-admin/install.php
7. 根据提示,完成安装过程。最后安装程序会生成一个用户名和密码给你,通过它们,你就可以进入Wordpress的管理面板进行相关的操作了,并且,拥有的是最高权限。这个密码非常的重要,请你一定要记牢,推荐你在登录后将密码修改为你自己喜欢的字符串。

More »

iSerenity Theme

 15 Mar 2008 1 Comment

Hello everyone!
This is my first wordpress theme to share with you! I give it a name “iSerenity”. There is no DEMO for it, because I am using it right now! So to see my blog, you will knows what does it looks like. Hope yoou will like it !
You can go here to see more details [...]

More »

Normalement, pour installer un système de blog ou CMS, comme WordPress ou Joomla, il faut avoir un hebergement de web et les installer à distance. C’est souvent payé, mais c’est nécessaire pour la personne qui veut avoir un site personel.
Pour la peronne qui n’a pas de l’hebergement web, je vous conseille une logiciel – XAMMP. En utilisant cette logiciel, vous [...]

More »

我因为人在法国,所以写日志时常要用3种语言交替:
中文是为了和大家共享一下我在法国的留学生活啦,还有就是以我的外文水平写不出来的东西…
英文是为了写博客赚钱啦,顺便能提高一下英语水平,学金融这是必备工具啊;
法文啊,这是我在这边的生活工具嘛…
好了,废话不多说,以下的code是我刚刚学来的,还没有深入研究:
进入你wordpress管理界面,然后进入主题编辑器,打开主页面模板,在
<?php if (have_posts()) >

<?php while (have_posts()) : the_post();:?>
之间插入如下代码:

<?php if ($_SERVER["HTTP_ACCEPT_LANGUAGE"]=”zh-cn”) > –识别浏览器的语言是否为 zh-cn
<?php else >
<?php if (is_home()) {query_posts(‘category_name=en’);}?> –若不是 zh-cn, 在首页只显示” en “种类的日志
<?php endif ;?>

如果你不知道其他语言的代码是什么,进入IE的internet选项,在常规标签的最下方有一个语言按钮,单击它会打开一个新的小窗口,让你进行语言首选项的设置,你会看到有一个添加(A)…的按钮,点击它就能在新打开的小窗口中看到所有语言以及其代码。
希望这些能帮到你!!

More »

Leaving Your Blog in the Root Directory

 03 Jan 2008 0 Comments

Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory
Many people want WordPress to power their site’s root (e.g. http://example.com) but they don’t want all of the WordPress files cluttering up their root directory. WordPress allows you to install the WordPress files to a subdirectory, but have your blog exist in the [...]

More »