WordPress SEO Optimization Method Summary

Source: Internet
Author: User
Keywords Wordpress seo

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

How to SEO optimization for WordPress? Here is a more suitable for WordPress beginners to see the article, feel better, collated and shared out to everyone. WordPress Optimization online articles everywhere, but for the novice a large number of articles, at the beginning will make you a little headache, and, some of the optimization of the blog is to be done at the beginning, otherwise, later found very troublesome. For example, my e-commerce blog article URL was not set up at the beginning. Needless to say, hard work is kingly, the article is as follows:

1. www. domain name and domain name change

If your blog has two url--www, the domain name and domain name, then the search engine will think that this is two different blogs, and carries on the data statistics and so on respectively. So you need to be sure at the beginning which one you like to use (you can't have a few on your own). My E-commerce blog is www. domain name this form. (Although Www.***.net is a ***.net two domain name, but the individual likes) then how to redirect the domain name to www. What about the domain name? Here are a few ways to do this:

(1), Domain name resolution: directly in the domain name DNS to add domain name to resolve, how to add, here is no nonsense. (ask me not understand)

(2), installation enforce www. Preference Plugin

After the plugin is uploaded and activated, if the blog address you defined on the "Basic settings" is www.a.com, then a.com will be redirected to www.a.com.

(3), modify the. htaccess file

Add the following code to the. htaccess file in the WordPress root directory:

Rewriteengine on

Rewritecond%{http_host} ^a.com [NC]

Rewriterule ^ (. *) $ http://www.a.com/$1 [l,r=301]

Similarly, if you want to a.com to www.a.com, just replace a.com and www.a.com.

2, set the Permanent (permalinks) Link

You'd better set the custom structure of a permanent link to "/%postname%/" so that the URL has the following benefits: Businessesflat-out

(1), URL can contain keywords, conducive to SEO;

(2), if one day you think this article is best attributed to another classification, then you can directly put the article into that category without affecting the article URL;

(3), if you have a lot of articles on your blog, or you have made great changes to this article, or when you have nothing to write, you can change the publication date of this article to today, then it is a new article, but the URL of the article does not change (this is a bit wretched, or recommend not to do so)

3, optimize the title of the article (title)

It is said that "WordPress seo method Summary | E-commerce Pioneer "the title form than" E-commerce Pioneer | WordPress Seo Method Summary "title form to facilitate SEO, to do this, can be achieved through the following two methods:

(1), use plugins all in one SEO pack or Platinum SEO Pack

(2), directly in the header.php document to modify the title tag, that is, the previous title tag code to:

< title><? php if (is_single () | | | is_page () | | is_archive ()) {?><? php wp_title (", true);?> | < php} Bloginfo (' name ');?> </title>

4. Optimization description (Description)

If you set a summary for the article, the content of the Description will show the content or part of the summary (because there are word limits).

If you do not set a summary, the search engine will crawl the beginning of the article as a Description, usually ugly and may not crawl, resulting in a duplicate of the element.

Therefore, it is best to set the description--in advance so that it is also conducive to aesthetics.

All in one SEO pack or Platinum SEO pack also has the ability to grab summaries automatically-but now the research is that such plug-ins will cause some damage to SEO optimization, but the novice still recommend this plugin.

5, tag (tag)

WordPress has the tag function, for each article definition keyword (also someone called the keyword), keyword selection is good, conducive to search engine rankings, but pay attention to your tag to be able to find in the article.

If you are writing for a keyword, you can go to Google trends to see the words popular, and then write the article.

6. Picture optimization

(1), set the picture size and margin, not only will be easy to be indexed by search engines, but also will speed up the speed of loading Web pages;

(2), ALT attribute so that the text can be displayed before the picture is displayed;

(3), if you can define the title property, the reader can move the mouse over the picture to know the name of the picture.

SEO Friendly Images Plug-in can achieve the above two functions.

7, Nofollow unnecessary links

WordPress's comments are now nofollow. When linked to a number of unnecessary links and link to the spam site will be the search engine down the right, the PR value of Jing Bo from 4 to 3, perhaps because the chain is too many, and did not add nofollow function. So which links need to be nofollow?

(1), RSS feed link;

(2), Login and registration page links;

(3), mail subscription links;

(4), footer related external links;

(5), paid links;

Wait a minute. Some blogs add Nofollow to links to navigation pages (such as "contact" pages) and to categories, but some blogs don't.

8, Akismet eliminate spam message

Spam messages not only affect the appearance of the page, but also affect the entire page in the search engine weight. WordPress with Akismet Plug-ins, you only need to activate and input API Key on it.

In addition, I heard that Baidu does not adhere to the Nofollow property, so it is best to install my love boiled fish Comments link redirect plug-in, the role of this plug-in is--"all message area links will not be search engine (including Baidu, if Baidu really as he said it comply with robots.txt Agreement) index, and will not give weight. "

9, add related articles plugin

This is clearly intended to increase the number of internal chains, which can be achieved through the following three plug-ins:

(1), YARPP

(2), Errors Posts

(3), WordPress ralated Posts

My E-commerce Pioneer is the third, the effect of this article to see the last (good).

10. Custom Robots.txt

Robots.txt's main role is to tell search engines not to crawl and include what you have to avoid duplication of content. The format is probably as follows:

User: * ——————— – Search engine

Disallow: CGI ————— – Search engines are not allowed to crawl CGI folders and everything inside them

If you use an XML Sitemap plug-in, your Robots.txt file will resemble the following:

User: *

disallow:# BEGIN Xml-sitemap-plugin

Sitemap:http://www.essentialblog.cn/sitemap.xml.gz

# End Xml-sitemap-plugin/

11. Custom Meta-Robots

This is also told to tell the search engine does not include only tracking which pages, to avoid duplication of content. There are probably two ways:

(1), using the Robots meta plugin

The search engine tracks all the links on the page, but does not include the page, and the same functionality can be achieved by:

(2), add the following code directly to the page:

< meta name= "robots" content= "Noindex,follow"/>

These methods are operational, practical, and not abstract, but if there are omissions or errors, please comment.

12. Site map and log archiving settings

Before also wrote an article called "website map, wp-easyarchives plug-in use detailed tutorial" specifically introduced the log archiving settings, for search engine site map suggest using just mentioned Xml-sitemap plug-ins. Specifically how to set up this plug-in, online tutorials are a lot of, to search it. The use of search engines is the necessary skills of electric merchants!

13, message reply notice

This is important, a blog, a huge goal is to communicate with Satan. People come to your blog comment, you reply, you have to let him know. Before I was stupid, did not set this function, the results of the comments are one-time! My blog used to be "front door snub car horse sparse", although now still cold wind swish "' Here is recommended a plug-in mail to commenter options.

OK, so much, WordPress blog Building seo optimization is the practice of SEO is a good experiment, but this is also a slow process, we have a good experience slightly ... This article by the Ecleader.net webmaster feeds!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.