Second-level directory is multilingual, how to add lang to href link

multilingual secondary directory, http://xx.com/lang link , How to automatically add lang, to the link address of the page, such as http://xx.com/lang/xxx


you can write a js script in the root directory index.html and jump to the directory based on lang.


should be a table lookup operation, where language attributes correspond to a set of link addresses, attribute data that displays character information, and then processed as link information.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35793-2bfa3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35793-2bfa3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?