- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know why this is happening but anytime I visit my site, instead of www.domain.com I am directed to something like www.domain.com/?sid=3pmv8cscsccdjinldmosv75i21
I have tried an URL rewrite but anytime I do this the code changes. What is going on and how do I stop it?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @richard_garner
Yes, you can able to disable SID from the URL, kindly follow the below steps :
- Magento dashboard > Store > Configuration > General > Web > Session Validation Settings > Use SID on Storefront set its value to No.
- Re-index Magento
- Refresh Magento cache
Then it will not able to showcase SID on the storefront !
For more details refer this link - https://magento.stackexchange.com/questions/147373/how-to-remove-sid-session-id-from-url-in-magento-...
https://www.shoaibrehman.com/solved-remove-sid-session_id-url-magento-2/
Hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @richard_garner
Yes, you can able to disable SID from the URL, kindly follow the below steps :
- Magento dashboard > Store > Configuration > General > Web > Session Validation Settings > Use SID on Storefront set its value to No.
- Re-index Magento
- Refresh Magento cache
Then it will not able to showcase SID on the storefront !
For more details refer this link - https://magento.stackexchange.com/questions/147373/how-to-remove-sid-session-id-from-url-in-magento-...
https://www.shoaibrehman.com/solved-remove-sid-session_id-url-magento-2/
Hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 adding strange code to home page url
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 adding strange code to home page url
Hello @richard_garner
Happy to help and keep helping others