Magento: ?___SID=U appearing in some urls

后端 未结 5 1341
慢半拍i
慢半拍i 2020-12-09 04:00

Can someone please explain why ?___SID=U is appearing in some Magento URLs on my site and not others?

I think it has something to do with sessions but I am not entir

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-09 04:25

    The SID is a "session ID". Magento uses this to track a user's activity within the same Magento installation. Normally, Magento powers one website and one store from one installation (database).

    Magento could power multiple websites with multiple stores from one installation though. The SID allows users to stay logged in while navigating across these websites/stores.

    I think if you have the function enabled, the SID is sent when accessing catalog URLs so Magento can update the session with the user's location/state for the current website/store.

    If you're not running a multi-website or multi-store environment, it's safe to disable the SID on the frontend.

提交回复
热议问题