How to make Imperial CMS website map sitemap.xml

888u

Last update at :2024-03-14,Edit by888u

Webmasters should all know the importance of a site map for a site. The website setting Baidu sitemap. ), let’s talk about how to set the sitemap sitemap.xml in Empire CMS.

Open the Empire backend on the homepage, column - Custom page - Add custom page

Select: direct page type, set the page name to sitemap.xml, modify the file name: ../../sitemap.xml (root directory), fill in the following code for the page content:

'?> [!--news.url--] daily 1.000 [e:loop={"select * from [!db.pre!]enewsclass order by myorder",0,24,0}] daily 0.8000 [/e:loop] [e:loop={"select * from [!db.pre!]enewszt order by ztid",0,24,0}] monthly 0.6000 [/e:loop] [e:loop={"select * from [!db.pre!]ecms_news order by newstime desc",0,24,0}] monthly 0.5000 [/e:loop]

Save after setting: Refresh the custom page

Okay, the website map of the imperial cms imitation site is completed.

Recommended site searches: US free hosting, domain name query, rented virtual host, US server defense, webmaster IP, Korean virtual host virtual host Hong Kong host, Korean independent server, registration-free jsp space, free IP proxy,

How to make Imperial CMS website map sitemap.xml

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码