Home > CMS Tutorial > DEDECMS > body text

How to use the google sitemap function that comes with dede

藏色散人
Release: 2020-01-02 09:08:30
Original
2004 people have browsed it

How to use the google sitemap function that comes with dede

How to use the google sitemap function that comes with dede?

Many friends are looking for the google sitemap plug-in. The requirement is paging. In fact, dede itself has a sitemap function and a paging function.

1. Effect

Version 4.0:

Figure 1

How to use the google sitemap function that comes with dede

2. Implementation method:

1. Update free list--Manage free list--Add list--As shown below:

Figure 2

How to use the google sitemap function that comes with dede

2. Change the relevant parameters:

Free list title:

Google SiteMap Generator

Directory default page name : Do not use the directory default homepage (check it)

Naming rules:

googlemap_{page}.xml

List template:

googlemap.htm

List description:

Google SiteMap file generation

Number of records per page: 500 (can be determined according to your own situation)

Single-line records within the loop Style (InnerText): [Underlying variable field reference]

<url> 
<loc>[field:arcurl function=&#39;Gmapurl("@me")&#39;/]</loc> 
<lastmod>[field:senddate function="strftime(&#39;%Y-%m-%d&#39;,@me)"/]</lastmod> 
</url>
Copy after login

Okay, click "Save a list" to return

3. Generate sitemap:

Return to "Update freely" List", see it:

Figure 3

How to use the google sitemap function that comes with dede

## Just click "Update", okay, it's that simple!

Try it

The above is the detailed content of How to use the google sitemap function that comes with dede. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!