We have two website that we are redirecting the user based on his geo location between them:
USA & Canada: https://domain/usa/
Other: https://domain/global/
Everything is working just fine.
But, after a while, we have some 404 pages that I have an issue when I want to create 301 redirection using htaccess for them.
For example, I have this 404 page: https://domain/usa/producta, I want to redirect the user to this page: https://domain/usa/ by editing the htaccess file, How should I do?


You need to add code redirect to file /home/ids/public_html/.htaccess and then, set the config: