I have a multisite setup with subfolders. There are 3 sites installed which will use the same theme but in English, French and Dutch.
I want to use wp_redirect in the header of the theme so that the user is redirected to one of the sites based on a cookie that is set when they click on a language option in a popup.
The redirect works fine on the english site which has the path ‘/’ but not on any of the other sites which have paths – ‘/fr/’ and /’nl/’
I’ve also tried redirecting using
header("Location: http://example.com/");and that doesn’t work either.
It literally does nothing!
Is it because the sites are subfolders rather than sub directories?
Thanks for help
- The topic ‘using wp_redirect on multisite subfolder site’ is closed to new replies.