I put in place a 301 redirection for the add-on domain subdomain.domain.example to subdomain.example, because Google was sometimes indexing subdomain.domain.example.

Is this 301 redirection the right thing to do for SEO?

  • @PatrickMevzek You weren't careful with your edit. If this question is unclear to you, it is because you didn't get the domains right when you introduced example.com for two different domain names. – Stephen Ostermiller Jun 26 '19 at 15:13
  • @StephenOstermiller No, both actions are unrelated. – Patrick Mevzek Jun 26 '19 at 15:19

Yes, 301 redirecting is the right thing to do, though you should take care to not just redirect everything to the homepage - for example, subdomain.domain.example/page needs to redirect to subdomain.example/page.

You should also check to see if you can find any sites that link to the add-on (undesired) version and ask them to update their links to the simpler (desired) version, as links are what Google uses to find sites and are probably the reason the undesired version got indexed.

Finally, make sure to check your CMS / your site itself for any references to the add-on (undesired) version. Your own site may be referencing the undesired URL and it is worth fixing both for ensuring Google and others find the right site, but also so visitors aren't waiting on constant redirects to resolve.

  • Thank you for your answer. – mekineer Jun 29 '19 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.