i have multisite applied on our site split by subdirectory, example: www.example.com/ph/, www.example.com/my/, www.example.com/id/ I set a variable on the server to detect a user’s country in $_SERVER[“USER_LOC”] so what I need is when a user from MY open any page from www.example.com/ph/, it will redirect to www.example.com/my/ for first-time visit only. But ignore the scrape/REST API url/facebook share crawl. Any help? I tried using header(Location:….), but when i try to share an article on Facebook, the image broken coz of redirect issue, also the WP Rest API Json return empty [ ].