Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Migrating domain to new domain

Options
  • 07-04-2021 10:47am
    #1
    Registered Users Posts: 3,056 ✭✭✭


    Hi,

    I want to Migrate a html Website from One Domain to a new Domain.

    Any ideas how I can do this while not losing the company listing or foothold on Google?

    I'm not very technical, so in simple terms would be much appreciated!

    Thanks!


Comments

  • Registered Users Posts: 6,007 ✭✭✭Talisman


    You first need to generate a list of all URLs in the search index, basically every link into the currently active domain. When you have the new domain active with all the content in place you need to create 301 redirects for the links to redirect them to the new domain.

    The 301 redirect is a permanent redirect and passes the page rank score to the new address. The 301 redirects will need to remain in place for so long as they are receiving web traffic.

    This link will inform you about SEO redirection: https://moz.com/learn/seo/redirection


  • Registered Users Posts: 3,056 ✭✭✭sticker


    Talisman wrote: »
    You first need to generate a list of all URLs in the search index, basically every link into the currently active domain. When you have the new domain active with all the content in place you need to create 301 redirects for the links to redirect them to the new domain.

    The 301 redirect is a permanent redirect and passes the page rank score to the new address. The 301 redirects will need to remain in place for so long as they are receiving web traffic.

    This link will inform you about SEO redirection: https://moz.com/learn/seo/redirection

    Hi - I'm using Linux hosting so if I created a single .htaccess file and placed it in the old domain hosting directory - would this work?

    Code in .htaccess file:

    Redirect 301 /index.html/ http://www.newdomain.com/index.html/
    Redirect 301 /index2.html/ http://www.newdomain.com/index2.html/
    Redirect 301 /index3.html/ http://www.newdomain.com/index3.html/
    Redirect 301 /index4.html/ http://www.newdomain.com/index4.html/


    Would I need to clear out all other files in the old domain directory?

    Thanks!

    2021-04-07_13-56-57.png


  • Registered Users Posts: 6,007 ✭✭✭Talisman


    If you are not changing the structure of the site so only the domain name part of the URLs are changing you can use a single redirect for the entire domain.
    Redirect 301 / http://newdomain.com/
    

    You don't have to keep any files in the old site, so long as they are in the same location in the new domain they will be found.


  • Registered Users Posts: 3,056 ✭✭✭sticker


    Talisman wrote: »
    If you are not changing the structure of the site so only the domain name part of the URLs are changing you can use a single redirect for the entire domain.
    Redirect 301 / http://newdomain.com/
    

    You don't have to keep any files in the old site, so long as they are in the same location in the new domain they will be found.

    Perfect - Cheers - and yes, exact same content moving over!


Advertisement