hexo SEO optimization Baidu entry

Foreword

I believe people see this article are after Hong eighty difficult thin end a difficult, you can return to the base in front of a good friend, a big wave of good equipment B, but imagination is good, but the reality is Cruel. Because the promotion is a annoying thing, then how can we let people know we do, we'll find a way to let people search can search the content of your blog, gives us a natural flow, which requires seo optimization, let us the site becomes search engine friendly.

What is SEO?

Translation for the search engine optimization. It is a way: the use of search engine rules to improve the site in the relevant search engine's natural rankings . The purpose is: to provide eco-style website for self-marketing solutions, let it occupy a leading position in the industry, get brand benefits; offsite SEO SEO includes both the station and SEO; for from the search engines to get more in free flow , from site structure , content development programs, user interactive communication , angle, etc. page rational planning , but also to make the site information displayed in search engine for users, more attractive .

Baidu included

Says no amount of nonsense is useless now to start combat, note that this is real, this is not a drill, step by step, to focus on doing wrong ,,, I have no idea, ha ha ha, if there are problems at the bottom there QQ group can find out.

Indexed premise

This is the problem I have encountered in setting up its own blog, the first point is something like Baidu can not climb on github, so I suggest that the first step, that is, the premise is to deploy its own blog to coding on, if not It does not matter, the point here .

The first step included: a collection site

Way to judge : enter in search enginessite:<域名>

For chestnut **: ** command: set:zyh1020.coding.mebelow

The second step included: Verify website

The so-called verification site, you can fill in as a verification code, he is to verify ownership of the site, after all, the average person is not possible to change the content of the site. Well, to begin site verification in accordance with the following procedure.

1, add a site

Baidu website included links point I

2, site properties

3. Verify website

Site verification in three ways:

  • File validation

  • html validation

  • CNAME verification

    I used File Validation way, because he is relatively simple.

    The first step : Download the verification file as shown below

Step Two : After downloading the file into the \ themes \ next source directory as shown below

The third step : after downloading the file uploaded to the coding

Command trifecta:

The first small step: hexo cleanremove the original public documents

The second small step: hexo grebuild the public file note at this point should have a public folder files downloaded

The third small step: hexo dto push files to the coding

** Step Four: ** Click the "Click here to confirm the verification file can be a normal visit."

If you can successfully access the file to download, click Finish verification.

If not successful visit to download the file, or click Finish verification error, delete the site and re-do it again.

The third step included: submit link

This step I suggest better Web site after the completion of the verification carried out.

1, install the sitemap plugin

The first step: in the installation directory of hexo (under _config.yml sibling site profile)

npm install hexo-generator-sitemap --save     
npm install hexo-generator-baidu-sitemap --save

Step two: change blog profile

The third step: Command trifecta:

The first small step: hexo cleanremove the original public documents

The second small step: hexo grebuild the public file note at this time should have generated sitemap file (sitemap.xml and baidusitemap.xml file) under the public folder

The third small step: hexo dto push files to the coding

2, find the link to submit

3, mode selection link submission

Link two ways:

  • Manual-feed
  • Auto Commit
  • Active push
    • Autopush
    • sitemap

I used sitemap way:

After the refresh can be seen:

A few days later:

The fourth step included: waiting

wait! do not go! We're done!

Guess you like

Origin blog.csdn.net/qq_43414988/article/details/92374636