The wrong domain is displayed for a website in Google!

Discussion in 'Google' started by 3DProf4online, Nov 12, 2008.

  1. #1
    I have the following problem - my webmaster has made two domains for website – the main domain and sub-domain one, he told me it is more convenient for him to have 2 domains for the same website! He has written the main domain in robots.txt file! As a result, this domain was displayed in all search engines however the situation has been changed recently again! Now sub-domain is displayed in Google however the main domain continues to be displayed in other search engines! What would you recommend to do my webmaster to solve this problem and to have the main domain displayed in Google!
     
    3DProf4online, Nov 12, 2008 IP
  2. wizs

    wizs Active Member

    Messages:
    72
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    63
    #2
    One method if you are on a UNIX based server...

    Do a 301 (permanent) redirect on your sub-domain address and point it to the "main" URL you want using a ".htaccess" file. Remove any entries that could block this from robots.txt.

    Then ensure the robots.txt on your main domain (if any) is correct and not blocking search engines crawling. Then make sure your .htaccess file is not redirecting your main domain elsewhere. Engines should then understand that your sub-domain is your old URL and index the redirected URL accordingly.
     
    wizs, Nov 12, 2008 IP
  3. 3DProf4online

    3DProf4online Peon

    Messages:
    906
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, our website is hosted on the Unix based hosting platform!
     
    3DProf4online, Nov 17, 2008 IP
  4. omega929

    omega929 Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    True noticed - you need to make a 310 redirect. For example, through htaccess:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://www.yournewdomain.ru/$1 [R=301,L]
     
    omega929, Nov 17, 2008 IP
  5. 3DProf4online

    3DProf4online Peon

    Messages:
    906
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    According to my webmaster words we have redirected the domain through IP address!
     
    3DProf4online, Nov 18, 2008 IP
  6. johnsunvalley

    johnsunvalley Banned

    Messages:
    221
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Do a 301 redirect is a good method which can help you.
     
    johnsunvalley, Nov 18, 2008 IP
  7. 3DProf4online

    3DProf4online Peon

    Messages:
    906
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You see a website has been uploaded to hosting account under a sub domain, we would like to have a domain as the main domain for a website! I think if we just redirect it to a sub-domain it will not be displayed in Google! I can't understand why everything was ok earlier and actually we did nothing and Google started displaying a wrong domain e.i. sub-domain as aresult!
     
    3DProf4online, Nov 19, 2008 IP
  8. albaniax

    albaniax Banned

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Couldn't you disable the subdomain in robots.txt?

    Otherwise use like it was said, the 301 permanent redirect, works always.
     
    albaniax, Nov 19, 2008 IP
  9. 3DProf4online

    3DProf4online Peon

    Messages:
    906
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #9
    But as far as I know Google dislikes domain redirects at all!
     
    3DProf4online, Dec 4, 2008 IP