3
how have you been? Well, I’ve been facing a problem that boils down to the following:
I want through the file .htaccess redirect only the home page from my website to another domain. Example:
Redirect: www.site1.com.br -> www.site2.com.br
If you have other pages in the same domain (Example: www.site1.com.br/algumacoisa), should not redirect for the second domain (www.site2.com.br).
I find it easier to do this with php
– Andrei Coelho
And how could I do that using php? Could give me a light?
– Caio Cesar
I was wrong about the code, I made an edit
– Andrei Coelho