Store Cookie to Remember Site
-
I’m running a multisite network with about a dozen sites; each site is a different language.
Each site has its language at the end of the URL, English excepted. So, for example:
English: https://www.site.com/
Spanish: https://www.site.com/spanish
French: https://www.site.com/frenchWhat I’m looking to do is store a cookie with the language/site the user is currently viewing so if they return to https://www.site.com/, it will redirect them to the language they were previously viewing.
I’m familiar with setting cookies, but I’m not sure how to accomplish something like this across a multisite network.
- The topic ‘Store Cookie to Remember Site’ is closed to new replies.