redirect domain to subdomain

Discussion in 'Google' started by steeltape, Apr 24, 2010.

  1. #1
    here's the situation . i have a blog that used to be in main domain but recently moved to a subdomain .
    so now it became www.domain.com/blog . And at www.domain.com is now a new site with different content. but google still think my blog is at main domain even after i submitted new sitemap.

    how do i do redirection of my link to the new subdomain without closing my main domain ?
     
    steeltape, Apr 24, 2010 IP
  2. Sxperm

    Sxperm Notable Member

    Messages:
    4,386
    Likes Received:
    142
    Best Answers:
    0
    Trophy Points:
    225
    #2
    You have to be patient since Google does take times before acknowledge your new change. You cannot expect to see Google acknowledge overnight by just submit sitemap alone.

    Apart from this, I would recommend you do 301 redirect for all inner pages to a new placement. You cannot do to homepage since the main domain will be placed a new website, but you can do with all inner pages to help Google acknowledge your change much faster.
     
    Sxperm, Apr 25, 2010 IP
  3. China_girl

    China_girl Well-Known Member

    Messages:
    4,095
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    195
    #3
    Can I add to steeltaphe post.

    I found that PREPEND_WWW caused the local http://127.0.0.1:100/ site to fail with a 301 I think. So I added APPEND_SLASH and PREPEND_WWW within an if statement I use to automatically switch between local and production site settings.

    I didn't require the syncdb though... but remember the restart apache

    I'd appreciate some help redirecting a co.uk site to .com
    I have domain.com, www.domain.com, domain.co.uk and www.domain.co.uk all pointing to the same app. My understanding is that for Google Webmaster tools and perhaps the actual Search results all these domains are separate as far as Google is concerned. Is this true ? And considering the PREPEND_WWW is there a Redirect I can apply to convert a domain.co.uk and a www.domain.co.uk to www.domain.com to keep everything neat (and SEO friendly is vital).

    Cheers
     
    China_girl, Apr 25, 2010 IP
  4. steeltape

    steeltape Greenhorn

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    thanks sxperm. i use redirect 301 in htaccess.
    it's a good thing my blog doesn't have that much post so it ain't a hassle typing url one by one.
    so now my domain is available and all link from previous blog is redirected.
    thx again
     
    steeltape, Apr 25, 2010 IP