After the ZenCart search engine is optimized, the first time you enter the store URL, zenid = XXXX appears.
Such as: http://www.waimaole.com/zencart-zenid.html? Zenid = jcse099db6otda7qid39fkrcv7
After the second entry or direct refresh, zenid = XXXX is not displayed?
Such as: http://www.waimaole.com/zencart-zenid.html
In this way, duplicate addresses will occur when the search engine is indexed. How can this problem be avoided?
1. Enter the session in the first navigation in the ZenCart background and set it as follows:
Session Directory: Set to the correct path for storing your website
Cookie Domain: True
Force Cookie Use: True
2. The solution is as follows:
Modify the replicdes/functions/html_output.php File
Find $ add_session_id and change its value to false.
Disadvantage: the browser does not record customer information as long as it supports cookies.