GUIDE REDIRECT A .ES DOMAIN TO A .COM OR VICE VERSA 2020 -WAU

Home/Posts/Administración del Hosting/GUIDE REDIRECT A .ES DOMAIN TO A .COM OR VICE VERSA 2020 -WAU

Redirect a .es domain to .com or vice versa

It is one of the most common cases, you get up, get ready, have breakfast, open your browser and decide buy a domain.es to keep your domain.com company. Then you are not sure how to redirect that .es domain to .com to avoid Google penalizing you for duplicate content, A classic Monday morning!

Then you go to your ‘Client Area’, and you start sending a Ticket to your de Support Department ’because you have nothing clear how to make that new domain.es load from your browser and take you to domain.com and all that in the most transparent way possible and no penalties, more would be missing.

This is where the Support Technician’s skill, expertise and love of work come into play to give you the best explanations in the world so that you understand what they are. ‘Targeted or parked domains’, Adicionales additional domains and the importance of ‘Redirects’.

If your good karma got up with you out of bed and keeps you company, what a protective aura, the explanations given by the Support Technician will be good enough that you have understood them and can, in a few minutes, do the name checks of domains and where each thing points and the ballot will be resolved and finally you will be redirected transparently and almost imperceptibly to .com With complete success!

If, on the contrary, everything the Technician told you in his support response sounded like Chinese cantons, I will try to clarify, in the remainder of the article, what the process is, summarized and extended so that when you finish this reading draw a big smile on your face, which will mean that you have carried out the process correctly and now it is as you wanted the .es and .com

Summary process to redirect a .es to a .com:

  1. Buy the domain .es if you did not have it.
  2. Note the domain names (DNS) to the contracted Hosting.
  3. Add it as Pointed / Parked Domain or Alias in your Hosting Panel.
  4. Redirect (301) domain.es to domain.com from your Hosting Panel.
  5. Verify from your browser that by typing domain.es you land on domain.com

However there are recommendations that you should keep in mind, to avoid duplication:

  1. Point the .com domain without aliases ‘www’ to the .com domain with aliases ‘www’
  2. Point the .es domain without aliases ‘www’ to the .es domain with aliases ‘www’

This process can be the other way around if you choose not to work with aliases ‘www’ in your domain.

This done you will avoid that each of these two domains is considered independent for the purposes of content for search engines.

Extended process to redirect a .es to a .com:

Buy the domain .es or .com, .net, .info or the one you decide to buy with the same name but different ccTLD, and then redirect it to your current domain.

Buy a domain

Once you have the active domain, don’t forget that you must point the domain names (DNS) to the contracted Hosting so that once the DNS change is propagated you can make use of the new domain.

Check domain DNS

You can make a whois (there are hundreds of tools on the Internet to do it and check where a domain points), use your terminal or Linux or OSX console to do a whois to your domain or you can consult whatsmydns for me to tell you, as we show in the screenshot.

Now it’s time to add the domain.es as Targeted Domain, Parked or Alias ​​in your Hosting Panel.

Target the domain

Then you must redirect domain.es to domain.com from your Hosting Panel, Domains, Redirection (or Redirect, Redirect, etc.)

Redirect .es to .com

Verify from your browser that typing domain.es

Check that the redirect works

You land on domain.com transparently.

You should land on domain.com transparently

It hasn’t been that hard, has it? and in the end it was worth taking this time to verify everything indicated so that now you breathe easier and continue to have a good Monday (or Wednesday, it doesn’t matter) knowing that your new domain redirects well to domain.com and that this is not going to suppose duplicate content in the eyes of the search engines.

Checks

Editing your file .htaccess (the one you should have in the main folder of the Hosting / public_html) you will see a code similar to the following that indicates that a redirection of the domain.es is being carried out without aliases’ www ‘to the domain.es with’ alias (or vice versa) and from this to domain.com with alias ‘www’.

RewriteCond %{HTTP_HOST} ^dominio.es$ [OR] RewriteCond %{HTTP_HOST} ^www.dominio.es$ RewriteRule ^(.*)$ "http://www.midominio.com$1" [R=301,L]

This code you must check that it is above the entire fileIf it is not, copy it and paste it at the top, removing it from the bottom of the file.

You can also add the symbol / on the third line before $ 1. That is, it has to be as follows:

RewriteCond %{HTTP_HOST} ^midominio.es$ [OR] RewriteCond %{HTTP_HOST} ^www.midominio.es$ RewriteRule ^(.*)$ "http://www.midominio.com/$1" [R=301,L]

With this, any part of the web that is loaded with the first domain will always be redirected to the second.

Delete a 301 redirect

If for any reason you have to part with the redirect, because the .es or .com domain has expired, you do not renew it or you have errors with said redirection, you will have to know how to eliminate said redirection.

Access your cPanel, Domains, Redirects and eliminate the redirection that you have applied for the domain.es for example.

Then edit the .htaccess file in the / public_html path from your cPanel, File Manager, Code Editor and delete the code that will appear similar to:

RewriteEngine on RewriteCond %{HTTP_HOST} ^dominio.es$ [OR] RewriteCond %{HTTP_HOST} ^www.dominio.es$ RewriteRule ^/?$ "http://www.dominio.com" [R=301,L]

Done, redirect removed.

Now you know how to do all this, that surely with a little practice you will end up dominating and understanding this convoluted world of domains better.

By the way, what of the other way in the title of the article it is because if your case is, that you want to redirect a domain.com to a domain.es, you already know that the process is the same as if you want to redirect a domain.net to a domain.com at the end No matter who is the guest and who is the host, the important thing is the procedure.

Member of the Websites Are Us technical team.
Coordinator of content on the Blog and YouTube.
Technical support in CyberProtector. Teacher at Websites Are Us Learning.

By |2020-05-12T01:09:48+00:00May 12th, 2020|Administración del Hosting|