Forum Moderators: phranque

Direct domain to existing site

Will this cause issues?

         

lee_sufc

8:45 am on Jul 5, 2024 (gmt 0)

10+ Year Member Top Contributors Of The Month



I have an established website of 20+ years (a ".net" TLD).

I own the .com / .uk TLDs for this name, too. I notice on the control panel of these names, there's an option to point the domain names to an existing site.

Is it safe for me to do this? So, my .net TLD will remain my core site, but if someone accidently typed ".com", it'll redirect to the correct site.

I was worried Google could see this as duplicate, or could cause other issues?

not2easy

12:19 pm on Jul 5, 2024 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



You would want it to be noindexed if the only content is your indexed domain where the 'wrong' domain version points to. I would look at how the rewrite/redirect is done - is it 301 or 302? I understand that it is not uncommon to buy up multi type-in/fat-finger possibilities so your situation is not unique. Without content it cannot be crawled so you would want to ensure it is a 301/permanent option for as long as you own the .com domain. It might to safe to assume but it doesn't hurt to check.

lee_sufc

12:33 pm on Jul 5, 2024 (gmt 0)

10+ Year Member Top Contributors Of The Month



Many thanks!

It seems "too easy" to set up (if that makes sense). It gives me an option to direct the domain to any site (just to confirm - these are just domain names - nothing is hosted with / on them). I went to do it for the .com domain (particularly as this is the one most people type in error), but wanted to double check with people here....I'd be lost without the advice from this site :-)

lucy24

5:51 pm on Jul 5, 2024 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Double-check: When you say �redirect�, do you mean a 300-class response (should be 301 but might be 302), or do you mean something on the DNS level where the identical content is served at more than one URL?

If it�s a redirect, a much more important question is: redirect to what? Does everything get sent to https://example.uk/ (root), or is it a page-for-page redirect?

lee_sufc

6:21 pm on Jul 5, 2024 (gmt 0)

10+ Year Member Top Contributors Of The Month



Hi Lucy!

the options for the redirect are shown as:

- Permanent (301)
- Temporary (302)
- Forward with masking

It then shows this:

When user goes to:
example.com

They'll be redirected to:
https://www.example.net/

lucy24

5:29 pm on Jul 6, 2024 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



But, again, does that mean root or page-for-page? If the control panel isn't clear, try it yourself by requesting some interior pages and seeing where you end up. If it turns out to be a global redirect to the root, don't do it.

It might be safer to do it yourself with a minimalist htaccess along the lines of

RedirectMatch Permanent (.+) https://www.example.net$1

(Ordinarily we'd do it in mod_rewrite but since there's just the one line, this is more efficient. If I�m reading Apache docs correctly, mod_alias starts everything with a / slash.) Yes, you can do this even if this site has no other content; you�re simply grabbing all requests and redirecting them.

Admittedly, the chance of some human typing in
https://example.com/full-name-of-page
by mistake for
https://example.net/full-name-of-page
are slim. But still...
 


 


 


 

Status: 403 Forbidden