WordPress in two domains

FabioSelau

Senior Member
Joined
Oct 19, 2018
Messages
813
Reaction score
452
Hello, I have a WordPress project and would like to use it in two domains.
The principal (xxx.com) and the secondary - subdomain (br.xxx.com).
The secondary would be the version of my site in a country, in this case in Brazil.
How do I do that?
I tried to do it here but when I log on to br.xxx.com I'm redirected to xxx.com
 
You need two physical websites.
xxx.com and br.xxx.com, but maybe on the same VPS.
Then carefully tune your nginx/apache to handle two domain names.
 
You need two physical websites.
xxx.com and br.xxx.com, but maybe on the same VPS.
Then carefully tune your nginx/apache to handle two domain names.
Can not do it using WordPress?
 
You need to install WP seperately on main and subdomain and everything would be fine
 
You need to install WP seperately on main and subdomain and everything would be fine
Yes, if I want the sites to be different ... but I want them to be the same...
If I change anything on xxx.com it will change automatically on br.xxx.com
 
Pretty interesting task would like to know how to do it.
 
Yes, if I want the sites to be different ... but I want them to be the same...
If I change anything on xxx.com it will change automatically on br.xxx.com

Haha, great!
Then this is what you need exactly:

FabioSelau said:
I tried to do it here but when I log on to br.xxx.com I'm redirected to xxx.com

Why worry?
 
Haha, great!
Then this is what you need exactly:



Why worry?
Why it does not make sense to create br.xxx.com if it will redirect to xxx.com ...
I want to create multiple versions of my site, but the br.xxx.com version and the xxx.com version want it to be the same ...
 
Why it does not make sense to create br.xxx.com if it will redirect to xxx.com ...
I want to create multiple versions of my site, but the br.xxx.com version and the xxx.com version want it to be the same ...

Dear sir, you drove me into histericals. You want 1 site for 2 domain names or you want 2 sites for 2 domain names?
 
If you need same website in different languages then better use translator plugin no need to create multiple websites
 
If you need same website in different languages then better use translator plugin no need to create multiple websites
But it's a business platform. If you use only a plugin to translate, a Mexican company will appear in the United States (us.xxx.com) for example ...
I just want the content of br.xxx.com and xxx.com to be identical (be mirrored).
The other subdomains I will have to do another installation of WordPress ...
 
Just install WPML plugin and let go of the subdomain idea. It's an outdated practice.
 
I don't advice you to use this method, but if you insist, you can use this plugin (threewp broadcast) or look for smth similar
 
Back
Top