Two domain names for one website
Hello everyone, I have two domains for one website, and I have redirected one of the domains to the one that I want to show up on google as the main website. The issue is that when I search on google for the company name I don't see the main domain name (the one to which I redirected the other domain name), I see actually the domain name that is redirected to the main domain name. Do you have any suggestions, why I have this problem? Thanks a lot for any advice! P.S. to link the two domains I have used 301 redirects (.htaccess) and it works well. RewriteEngine on RewriteCond %{HTTP_HOST} ^oldsite.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.oldsite.com [NC] RewriteRule ^(.*)$ https://newsite.com/$1 [L,R=301,NC]
As I understand it, you want to connect 2 sites. 1 of them is a mirror or drop. For everything to go quickly and well, the content of the sites must match. Google search console has the ability to reindex the site. Periodically send multiple pages of the site.
I forgot to say. Check the sitemap. Everyone should have his own.
Using two URLs to go to the same website is an excellent approach to getting visitors from a variety of domain names. You can do this in one of two ways: redirect one of the URLs to your main domain or create an alias for one of the URLs. The alias would direct traffic from that domain to your primary domain.