Dedecmstag label pseudo-static modification method. For more information, see dededecmstag. Dedecms tag label pseudo-static modification method. For more information, see.
1. enable pseudo-static in the dede background
2. modify/include/taglib/tag. lib. php
Find $ row ['link'] = $ cfg_cmsurl. "/tags. php? /". Urlencode ($ row ['keyword'])."/";
Change to $ row ['link'] = $ cfg_cmsurl. "/tags/". urlencode ($ row ['keyword']). ". html ";
3. open templets/default/taglist.htm
Find
Current location:: Homepage> TAG >{dede: field. title /}
Change
Current location:: Homepage> TAG >{dede: field. title /}
IV. add httpd. ini files
RewriteRule ^ (. *)/tags \. html $1/tags \. php
RewriteRule ^ (. *)/tags/(. * ).html $1/tags \. php \? $2
Okay ~
You can use the following method to create a new version:
1. enable pseudo-static in the dede background
2. modify/include/taglib/tag. lib. php and find:
$ Row ['link'] = $ pai_cmsurl. "/tags. php? /". Urlencode ($ row ['keyword'])."/"; changed
$ Row ['link'] = $ pai_cmsurl. "/tags /". urlencode ($ row ['keyword']). ". html "; 3. open templets/default/taglist.htm and find:
Current location:: Home Page> TAG> {dede: field. title/}
Current location:: Home Page> TAG> {dede: field. title/} 4. add the httpd. ini file
RewriteRule ^ (. *)/tags \. html $1/tags. php; RewriteRule ^ (. *)/tags/(. * example .html $1/tags. php? /$2;
Then, go to the dede background and update the cache.