Weave Dream dedecms Site Map template

Source: Internet
Author: User

Affinity Baidu Spider, multi-layered features, weaving dream system best use of the site map!

Use Dedecms (Weaving Dream) system to build the site most are to optimize as the main goal of the site type, since it is optimized station SEO means can not be separated from the site to set up the site map. But Dedecms's own template does not have a sitemap, and the dedecms provided by the self-brought template may not be able to meet your needs. So it is very important to choose a good web map template for my Dedecms website.

Wondercss.com this production and sharing of DEDECMS dream site map (HTML format) template is based on the free list freelist to complete, can achieve a multi-level sub-page site map, tested on Baidu search spider effect is very good. If your dream Web site needs a sitemap template, use the DEDECMS Web Map template that I use.

A little weave dream dedecms Site Map template Two set weaving dream dedecms Site Map parameters

Enter the management background of weaving dream into the core > Channel model > Free list Management page, add a list:

    • List HTML Storage directory:{cmspath}/
    • Fill in the free list title : Sitemap
    • Directory default page name fill in:sitemap.html Remove the default home page check without using the directory
    • The naming rule is filled in:{listdir}/sitemap{page}.html
    • List template:{style}/sitemap_html.htm
    • Maximum list of pages filled in:9000
    • Number of records per page :
    • Limited column settings: unlimited

Delete the original content in the single-line record style (InnerText) within the loop, and fill in:

<li><span class="url">[field:textlink/]</span><span class="time">[field:pubdate function="GetDateTimeMK(@me)"/]</span></li>

After saving the "update" on the Free List Administration page, visit your website's address/sitemap.html to see the sitemap page.

Three modify the source file to permanently remove the "Do not use directory default home" automatic check

In order to later update more convenient, we need to be in the template settings "Do not use the directory default home page" Check to permanently remove, or re-modify it will be checked again. is a bug, so we need to modify the source file.

Open Dede\templets \freelist_add.htm Find 113 lines, the value= "1″ changed to Value=" 0″. Then open dede\templets \freelist_edit.htm found 89 lines, the value= "1″ changed to Value=" 0″. This way, "Do not use the directory default home page" will never be selected by itself.

Four finally add site map in robots.txt

After you finish the site map, in addition to the site to add links in the homepage, the most important thing is to add the site map in the robots agreement, so that the search engine to crawl directly. Robots protocol is robots.txt in the root directory of the Web site, open and add the following statement, the www.wondercss.com to your website domain name. It is worth noting that the first letter S of the Sitemap need to be capitalized.

Sitemap: http://www.wondercss.com/sitemap.html

PS: Due to the small problem of dedecms weaving dream system itself, "Do not use directory default home page" can not be removed permanently, so in the robots protocol we recommend that you directly name the site map sitemap1.html, The naming of site map files does not affect SEO.

Sitemap: http://www.wondercss.com/sitemap1.html

Here we completed the DEDECMS site map of all settings, waiting for the arrival of Baidu Spider!

If you want to add more affinity to the Google search engine in the XML format of the site map, see here: with Dedecms Dream system to do XML sitemap

This content is reproduced in http://www.wondercss.com/ 's http://www.wondercss.com/theme/dedecms-sitemap/

Weave Dream dedecms Site Map template

Related Article

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.