The following tutorial column from Empire cms secondary development will introduce to you the method of Imperial cms to improve the opening speed of website pages. I hope it will be helpful to friends in need!
tag displays the Chinese path, modify the file /e/class/t_functions.php file:
This paragraph:
$str.=$jg.'& lt;a href="'.$public_r[newsurl].'e/tags/?tagid='.$r[tagid].$cs.'" target="_blank">'.$font1.$r[tagname].$snum.$font2.'</a>'.$br;
Modify to :
$str.=$jg.'<a href="'.$public_r[newsurl].'e/tags/?tagname='.$r[tagname].$cs.'" target="_blank">'.$font1.$r[tagname].$snum.$font2.'</a>'.$br;
Test after modification
This call [showtags]'',0,0,'',0,s,'',1,''[/showtags]
(Calling all tags)
What is displayed is the normal Chinese address?tagname=Baidu Optimization
And the content page call [showtags]'selfinfo ','',0,'','','','',0,''[/showtags]
shows other codes ?tagname=ͼƬ
Why not display Chinese directly? I want the content page to also display this kind of address? tagname=Baidu optimization
Modify t_functions.php
##$str.=$jg.'< ;a href="'.$public_r[newsurl].'e/tags/?tagname='.urlencode($r[$i]).$cs.'" target="_blank">'.$r[ $i].''.$br;
$str.=$jg.''.$r[$i].' a>'.$br;
The above is the detailed content of How to implement tag tag Chinese url in Empire Cms. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

Notepad++7.3.1
Easy-to-use and free code editor

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
