1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Moving to new domain, keeping Google index intact ?

Discussion in 'Search Engine Optimization' started by QubeSys Technologies, Mar 2, 2016.

  1. #1
    Hi, we have a established website with more 30k visitors everyday, but we got an awesome domain for it finally after 3 years go struggle, and we want to move to that.

    So, we have copied the website to the new domain already.
    And added it to google webmaster tools and filled the change in address form as well.

    What else shall be done, so I dont lose my old indexing and traffic ?
     
    QubeSys Technologies, Mar 2, 2016 IP
  2. Stefan P.

    Stefan P. Active Member

    Messages:
    25
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    70
    #2
    As far as I knew some time ago, it was mandatory to add a 301 redirect to the old domain to the new one. A 301 redirect is AFAIK the most SEO-friendly permanent method when moving to a new domain, you can use .htaccess to do it or simple PHP:

    <?php
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: http://www.new-url.com" );
    ?> 
    Code (markup):
    Using a 301 redirect the old page will be removed from the google index and the new one will replace it. You can get more details about this Googling: seo-friendly 301 redirect.
     
    Stefan P., Mar 2, 2016 IP
  3. QubeSys Technologies

    QubeSys Technologies Active Member

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    Whats the htaccess for domain direction ?

    For example, lets say google has indexed,
    www.domain.com/about-us/

    And we need that when someone clicks on www.domain.com/about-us/ , he should automatically goto www.domainnew.com/about-us/
     
    QubeSys Technologies, Mar 2, 2016 IP
  4. Stefan P.

    Stefan P. Active Member

    Messages:
    25
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    70
    #4
    AFAIK, when using a 301 redirect on .htaccess it redirects all the related pages, it replaces the old domain in the google index and then indexes the new one, with all related pages.

    .htaccess code to put on the old domain:
    
    RewriteEngine on
    RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]
    
    Code (markup):
    Redirects everything after the domain name on the url to the exact same copy on the new one.
     
    Stefan P., Mar 2, 2016 IP
  5. QubeSys Technologies

    QubeSys Technologies Active Member

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    That did it.
    Thanks man!!
     
    QubeSys Technologies, Mar 2, 2016 IP
  6. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,199
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #6
    For SEO you need to 301 redirect the old URLs to the new URLs.
     
    dcristo, Mar 2, 2016 IP
  7. QubeSys Technologies

    QubeSys Technologies Active Member

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #7
    Done, it worked. Thanks
     
    QubeSys Technologies, Mar 2, 2016 IP
  8. Malika.Sharma

    Malika.Sharma Active Member

    Messages:
    351
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #8
    I would suggest getting a help from an SEO expert in your location to ensure everything is working fine. That's a massive number of visitors on your website and I would hate to lose it for any reason.
     
    Malika.Sharma, Mar 2, 2016 IP
  9. patco

    patco Well-Known Member

    Messages:
    2,035
    Likes Received:
    47
    Best Answers:
    17
    Trophy Points:
    100
    #9
    Double check every page (yes, it's a time consuming...), but if just any link doesn't redirect to ITS copied one ("about us" to "about us", etc.), you will lose link juice and rankings too! ;)
     
    patco, Mar 3, 2016 IP
  10. QubeSys Technologies

    QubeSys Technologies Active Member

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #10
    One issue, I see.
    In google, now all my URLs are showing,
    www.domain.com/abc or www.domain.com/abcsddd

    And it goes to 404 not found.

    Can I make a htaccess rule, so that any requests made to www.domain.com/xxx gets automatically redirected to www.domain.com ?

    As I have a parked page live on www.domain.com, which has link for the new website.
     
    QubeSys Technologies, Mar 3, 2016 IP
  11. QubeSys Technologies

    QubeSys Technologies Active Member

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #11
    Can someone help with the code to redirect all requests to main domain please ?
     
    QubeSys Technologies, Mar 4, 2016 IP
  12. wissam

    wissam Well-Known Member

    Messages:
    2,289
    Likes Received:
    78
    Best Answers:
    1
    Trophy Points:
    185
    #12
    Just keep in mind that it takes some time for all your rank etc to move to the new domain, and if you provide me with what kind of site do you have I can help you, anyway this universal code should redirect everything:
    Options +FollowSymLinks -MultiViews
    RewriteEngine on
    
    RewriteCond %{HTTP_HOST} ^(www\.)?old\.com$ [NC]
    RewriteRule ^ http://www.new.com/ [R=301,L]
    Code (markup):
     
    wissam, Mar 4, 2016 IP
  13. QubeSys Technologies

    QubeSys Technologies Active Member

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #13
    Doesnt work.
    Shows 404 :(
     
    QubeSys Technologies, Mar 5, 2016 IP
  14. QubeSys Technologies

    QubeSys Technologies Active Member

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #14
    Any other way please ?
    We have received 108000 404 clicks :(
     
    QubeSys Technologies, Mar 7, 2016 IP
  15. pupul

    pupul Prominent Member

    Messages:
    1,737
    Likes Received:
    66
    Best Answers:
    2
    Trophy Points:
    340
    #15
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
    RewriteCond %{HTTP_HOST} ^www.example.com [NC]
    RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]

    If you still can't do it, hire me or someone else.
    It seems you are from Odisha too. Nice to meet some odia here.
     
    Last edited: Mar 7, 2016
    pupul, Mar 7, 2016 IP