This article will take a beginners look at this interesting subject. It will give you the information that you need to know most.
If you have to move a websituate from one realm to another, it will mean that all the family pointing to your old situate would now be vanished and would make the dreaded 404 slip when vacationors came in via old seek engine roll or family.
The best way to defend your family, and have vacationors end up on their vital page is to group a redirect from the old realm to the new one.
In this example, we are open to suppose that we use to have a realm called OLDSITE.COM and for some debate we have to move everything across to NEWSITE.COM
In the introduction, we saw how this subject can be beneficial to anyone. We will continue by explaining the basics of this topic.
The first up, don�t slay the hosting for the old situate but give it working for some time. This will then permit us to redirect vacationors from the old situate to the new situate.
A 301 redirect cleanly tells seek engines that vacation your situate that the old URL has now permanently misworn to another URL. Once the seek engines find the 301 redirect they will begin to switch all the old family in their indicator across to the new location.
This will take some time and on situate situates, this may take months to have the seek engines switch all the old family across to the new locations.
An .htaccess organizer is nothing more than a easy wording organizer that contains instructions for the web attendant that run on that hosting account.
On your PC, begin a fake of notebook (This can be achieved by open shrink->Accessories->notebook) and alter your unfilled .htaccess organizer or to construct a new one. DON�T use Word or any other word processing software to open the organizer, beinitiate these parcels have the ghastly leaning of inserting �jest� characters in organizer that will initiate the .htaccess organizer to not affair right.
If your new situate�s shape is closely the same as the old situate, then cleanly place the next line in your .htaccess organizer
Redirect 301 http://www.NEWSITE.COM
Now revive the organizer, and FTP this organizer up into your websituates major account. On most Linux based systems, this is the /public_html/ listing
Now, when a vacationor (be it a being or a seek engine bot) comes to your old realm, they will be redirect to your new situate. So if they came looking for a organizer called squeeze.html (old URL would be www.oldsituate.com/squeeze.html) they would get automatically redirected to www.newsituate.com/squeeze.html
This is the easiest way to move an whole situate from one realm to another�
If the shape of the new situate is different from the old one, then we will indigence to �map� each old URL to its corresponding new location. This also applies if you resolve to change the shape of your situate, and you want to defend the family from your old shape and �map� them to their new location.
If you have a URL that was www.oldsituate.com/dogteaching/ and you required to redirect vacationors to www.newsituate.com/data/dog-teaching.html you would place the next in your .htaccess organizer.
Redirect 301 /dogteaching/ http://www.newsituate.com/data/dog-teaching.html
The design is:
Redirect 301 old-location new-location
The �old-location� is the avenue to the old destination (minus the realm name)
The �new-location� is the filled avenue to closing destination (it must contain the filledy certified realm name as well).
This means that when every a vacationor comes in on the old URL (www.oldsituate.com/dogteaching/) the web attendant will redirect them to the new URL of (www.newsituate.com/data/dog-teaching.html)
If you have numerous locations that you want to redirect, then you have to have numerous redirects set up. With one redirect per line. An example might look like this:
Redirect 301 /dogteaching/ http://www.newsituate.com/data/dog-teaching.html
Redirect 301 /patroldogteaching/ http://www.newsituate.com/data/patrol-dog-teaching.html
Redirect 301 /dogteachingvideos/ http://www.newsituate.com/data/dog-teaching-videos.html
It is time consuming situation up 301 redirect, but if your situate had dear incoming family, then its appeal costs the time to defend those family and keep your websituate position as well as it worn to and to keep your situate profitable.
Knowing the ins and outs of this topic will help you to fully understand the importance of this entire subject.