Introduction to the
SEO, Sitemap, SEARCH engine optimization, simple tutorials
In the ambiguous period and unrequited love period always hanging in the heart:
ta
Why didn’t you tell me?ta
Don’t you have feelings for me?ta
Are you just using me as a backup?ta
Does that apply to everyone?
The simplest way to solve the problem is to ask each other directly. In the initial SEO experience, there are more than 1.6 billion websites on the Internet. If you only rely on the secret love of Baidu and Google’s crawler spider to take the initiative to come to the door, it is obviously difficult to be the first time to climb.
It’s better to throw yourself at someone than to wait for them. My message is everywhere
In love often experience a mutual understanding and mutual running-in process, if you can directly know each other’s family situation, interests and hobbies, emotional character is undoubtedly very able to speed up the understanding and running-in, and even can predict the possibility of marriage in advance.
Ps: Mistress still likes to understand and run in slowly.
The sitemap search engine allows you to browse and quickly crawl down the sites you want to be indexed.
sitemap
Sitemap is a sitemap that records links within a site. Just put this text in the root directory of the site, and spider brother will definitely find you in the crowd more easily. Sitemap is available in various formats:
TXT format
The rules
TXT format rules are very simple:
- Encode files using UTF-8 encoding.
- Text files can only contain lists of urls.
- You can name the text file as much as you like, but make sure it has a.txt extension.
example
http://pushme.top/about
http://pushme.top/i-love-u
http://pushme.top/30-seconds-for-everyday
Copy the code
XML format
The rules
The rules for the XML format are slightly more complicated:
The label | describe | |
---|---|---|
<urlset> |
necessary | The parcel<url> And specified agreements |
<url> |
necessary | The tags that appear below are child elements of the various information that wraps links |
<loc> |
necessary | Page permalink address, must carry protocol (HTTP) |
<lastmod> |
optional | Page last modified time, the format isYYYY-MM-DD “, the spider will use this to determine if the content is up to date |
<changefreq> |
optional | Possible values are: always, hourly, daily, weekly, monthly, yearly, and never |
<priority> |
optional | Link weights within the site do not affect theSorting in search engines The value ranges from 0 to 1. The default value is 0.5. A larger link is more important |
example
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://pushme.top/about</loc>
<lastmod>2019-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://pushme.top/30-seconds-for-everyday</loc>
<lastmod>2019-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Copy the code
RSS
The rules
RSS and Atom 1.0 Many blogging tools come with a tool for generating this, and you can use the generated RSS to submit as a sitemap, but note that RSS is usually only recent content, so there are not too many tools here.
use
This is mainly about Baidu and Google, other search engines will find a chance to sort them out.
site
- Create it in the root directory
sitemap.xml
file - in
robots.txt
addSitemap: http://domain.com/sitemap.xml
baidu
Visit the link submission interface under Baidu’s search resources platform and you can see the relevant usage methods:
- Manual submission: rules and
TXT format
The same. - Active push: call the interface to need the small spider to climb the site directly sent to Baidu.
- Automatic push: load Baidu’s on the page
https://zz.bdstatic.com/linksubmit/push.js
The script itself sends the current link to the search engine when the page is visited. - Sitemap: Submit sitemAP related files for your site.
- Submit it to Google using the Search Console sitemap tool
- Using “ping” requires us to grab a site map. Send the HTTP GET request as follows:
http://www.google.com/ping?sitemap=<complete_url_of_sitemap>
, such as:http://www.google.com/ping?sitemap=https://example.com/sitemap.xml
.
SEO related content
- Little secret of H1 Mason
- At the beginning of SEO experience
- Img large
- A thousand miles of marriage
- Throw herself
- Rover rule
Grow up together
In the confused city, there is always a partner to grow up together.
- You can click on this if you want more people to see the article
give a like
. - If you want to inspire your mistress thereGithubGive a
Little stars
. - If you want to communicate more with small two add wechat
m353839115
.
PushMeTop originally contributed to this article