ScovilleTeague27
The simplest way to maintain your links, and have visitors wind up on their expected page is to setup a direct from the old domain to the new one.
It'll signify all of the links pointing to your old site would now be lost and would produce the dreaded 404 error when guests came in via old search engine listing or links, If you have to move a website from domain to some other.
The best way to protect your links, and have guests end up on their expected page is to setup a redirect from the old domain to the new one.
In this example, we're going to feel that we use to have a domain called OLDSITE.COM and for some reason we have to move anything across to NEWSITE.COM
The very first up, dont destroy the hosting for the old site but leave it working for sometime. This will then allow us to direct readers from the old site to the brand new site.
A 301 redirect only shows se's that visit your website that the old URL has completely changed to some other URL. They'll begin to transform all the old links in their catalog across to the newest area once the se's find the 301 redirect.
Some time will be taken by this and on site sites, this may take months to have the search engines change most of the old links across to the brand new areas.
An.htaccess file is nothing more than a simple text file that contains directions for the net server that run on that hosting account.
On your personal computer, start a of NOTEPAD (This is achieved by going Start-> Accessories-> Notepad) and change your existing.htaccess document or even to develop a new one. DONT use Word or any other word processing application to open the file, because these packages have the horrible practice of applying funny characters in file that may cause the.htaccess file never to function effectively.
Then simply place these line in your.htaccess file, if your new sites structure is exactly the same as the old site
Direct 301 save the file, and FTP this file up into your internet sites primary consideration. On most Linux based systems, this is actually the /public_html/ service
Now, each time a guest (be it an individual or a internet search engine bot) comes to your old domain, they will be direct to your site. Therefore if they came buying file called stuff.html (old URL would be www.oldsite.com/stuff.html) they would get automatically redirected to www.newsite.com/stuff.html
This is actually the easiest way to move a whole site from one site to a different
If the construction of the new site is different from the old one, then we will need certainly to place each old URL to its corresponding new area. This applies if you decide to change the structure of one's website, and you want to keep the links from your old structure and place them to their new location.
If you've a URL that has been www.oldsite.com/dogtraining/ and you wanted to redirect people to www.newsite.com/info/dog-training.html you'd place these in your.htaccess document.
Direct 301 /dogtraining/ format is:
Direct 301 old-location new-location
The old-location is the road to the old destination (without the domain name)
The new-location could be the full way to ultimate destination the fully qualified domain name must be included by it as well).
This means that when every a visitor comes in on the previous URL (www.oldsite.com/dogtraining/) the net server can redirect them to the brand new URL of (www.newsite.com/info/dog-training.html)
You have to have multiple blows create if you have multiple locations that you desire to direct, then. With one redirect per line. An example might appear to be this:
Redirect 301 /dogtraining/ 301 /policedogtraining/ 301 /dogtrainingvideos/ is time consuming creating 301 direct, but if your site had valuable incoming links, then its worth spending the time to protect those links and keep your site rank along with it applied to and to keep your site worthwhile. SetserPearce503 - WikIBedia