Basic WordPress SEO基本的WordPress徐

Posted on June 22, 2008 at 5:02 am张贴于2008年6月22日在上午05时02分

Today I am going to look at some very basic first steps in making sure that your band new shiny WordPress installation is search engine friendl y.今天,我去看看一些很基本的步骤,首先在确保您带新的闪亮的WordPress安装是搜索引擎friendl耀 I am going to talk about just two things, but these are very important things, the most fundamental and arguably the most valuable from an SEO viewpoint.我要谈谈刚才两件事,但这些都是很重要的事情,最根本的和可以说是最宝贵的从徐的观点。

Firstly we are going to talk about permalinks.首先我们要谈论的永久性。 When you first install WordPress, your permalink structure will create a page URL for your posts and pages that looks something like this:当您第一次安装的WordPress ,您的永久结构将创建一个网页的网址为您的职位和页面看起来是这样的:

http://www.yoursite.com/?p=123 http://www.yoursite.com/?p=123

This is far from optimal, we really need to change this to something that contains some tasty and readable information for the search engines to devour.这是到目前为止,从优化,我们真的需要改变,这一点包含一些好吃的和可读的资料,以供搜索引擎吃掉。 So we will make some changes to have them look like this:因此,我们会作出一些改变,他们看起来就像这样:

http://www.yoursite.com/category/post-name/ http://www.yoursite.com/category/post-name/

To do this, find the permalinks section of your blog options and make the changes in the screenshot below.为此,找到永久性的一段您的博客选择和作出的变化,在下面的截图。 Before doing so, make sure you .htaccess file has write permissions set, don’t forget to change it back afterwards!在这样做之前,请确保您。 htaccess的档案中有写权限设置,请不要忘了要改回后!

永久

Next we move on to page title, the default WordPress install will display a page title in this format:其次,我们的举动,以网页标题,默认的WordPress安装将显示一个网页标题在此格式中:

Name Of Blog - Blog Archive - Post Title 名称博客-博客存档-职衔

This is terrible, since search engines rely heavily upon the page title.这是可怕的,因为搜索引擎的依赖后,网页标题。 The attribute more weight to keywords at the front of the title, so we need to switch “Blog Title” and “Post Title” around at the very least.属性更多的重量,以关键字在前面的标题,所以我们需要开关“博客标题”和“职衔”围绕在最低限度。 This is where it gets tricky and much will depend on a) the version of WordPress you are using and b) the theme you are using.这是它获得棘手很大程度上将取决于一)版本的WordPress您正在使用和b )主题您所使用的。

Basically you need to look in your header.php and locate a line of code (usually towards the top) that will look something like this:基本上,你需要看看在您的header.php ,并找到一个行代码(通常是对顶端)表示,将看起来就像这样:

<title><?php bloginfo(’name’); ?> <?php if ( is_single() ) { ?> � Blog Archive <?php } ?> <?php wp_title(); ?></title> 的<title> < ? PHP的bloginfo ( '姓名' ) ; ? > < ? PHP的,如果( is_single ( ) ) ( ? >博客存档< ? PHP的) ? > < ? PHP的wp_title ( ) ; ? > < /标题>

You then need to change it to something that looks like this:然后,您需要将它更改为一些看起来像这样:

<title><?php wp_title(’ ‘); ?><?php if(wp_title(’ ‘, false)) { 的<title> < ? PHP的wp_title ( ' ' ) ; ? > < ? PHP的,如果( wp_title ( ' ' ,虚假) ) ( echo 回声 ‘–’; } ?><?php bloginfo(’name’); ?></title> ' -' ; ) ? > < ? P HP的b loginfo( '姓名' ) ; ? > < /标题>

And there we have it, nice search engine friendly page titles.有我们有,尼斯搜索引擎友好的网页标题。

These two basic changes are the logical first step in creating a fully SEO optimised WordPress blog.这两个基本的变化是合乎逻辑的第一步,形成一个完整的徐优化WordPress所博客。 Both of these simple changes will have a huge impact on your on the page SEO, they address 2 of the top 3 SEO factors (the first being the actual domain name).这两项简单的变更,将会有巨大影响您在网页上的徐,他们的地址2顶端3徐因素(第一次是实际的网域名称) 。

在WordPress徐

In the screenshot above we can see the results of these changes, check the search engine friendly URL and the improved page title.在上述的截图我们可以看到的结果,这些变化,检查搜索引擎友好的网址和网页标题改善。

If you enjoyed this post, make sure you 如果您喜欢这个职位,请务必 subscribe to my RSS feed 订阅我的RSS馈送 !

» Filed Under »提交下 SEO

Related Posts相关文章

2 Responses to “Basic WordPress SEO” 2反应“基本的WordPress徐”

  1. mal 仲裁法 said on : 说:

    Why is the end of the url in the last screenshot:为什么是年底的网址,在过去的截图:

    a-trop-to-cambodia 1 - trop到柬埔寨

    while the title of the story is:而标题的故事是:

    A Trip to Cambodia访问柬埔寨

    Hm look at the page and its the same there.陛下看看网页和其有相同的。
    Someone entered a wrong caption first and changed it later.有人输入了错误的说明,首先改变它。 : d


  2. mwheeler said on : mwheeler说,就:

    You caught me你被我 : ) Yep entered the wrong title when I made the post, edited it later, after I had taken that screenshot, oops yep输入了错误的标题时,我提出后,编辑,后来,当我采取的画面,哎呀 : )


    Please post your comments/suggestions!请张贴您的意见/建议!