I have two domains: the main one is the .com and the secondary is the .com.br
I need to make it every time you go to www.domain.com, it redirects to www.domain.com, even when you have a subfolder, for example: www.domain.com/test redirect to www .domain.com / test
The host I use is iPage.