Toggle Nav
My Cart 0

How to set Cookie Path in Magento 2

How to set Cookie Path in Magento 2

How to set Cookie Path in Magento 2

If you want to get cookies available to other folders, then enter the Cookie Path. Cookie Path will usually need a forward slash “/,” which means the cookie will be functional across the domain and not be limited to a specific directory.

To know how you can set Cookie Path for your online store from the Magento admin, go with the following steps:

Steps for the set Cookie Path:

  • Step 1: Login with your Admin panel
  • Step 2: Go on the sidebar and click on the Stores option
  • Step 3: Then go on the Settings > Configuration
  • Step 4: Then expand the General tab and then click on the Web option
  • Step 5: Then select the Default Cookie Settings section
  • Step 6: Then go on the Cookie Path field
    1. In that textbox, enter the valid cookie path with a forward slash(/).
  • Step 7: If you are done with these configuration then click on the Save Config button.

How to set Cookie Path in Magento 2
October 12, 2021
Did you like this post?
0
0