Re-directing web-traffic into a new location
De BISAWiki
The easiest way to maintain your links, and have visitors wind up on their necessary page is to setup a redirect from the old area to the new one.
It will imply that all of the links pointing to your old website would now be lost and would generate the dreaded 404 error when guests came in via old internet search engine listing or links, when you have to move a site from one area to still another.
The easiest way to protect your links, and have guests end up on their essential page is to setup a direct from the old site to the new one. This interesting bean bag website has assorted staggering cautions for why to do it.
In this example, we're going to think that we use to have a domain called OLDSITE.COM and for whatever reason we've to move everything across to NEWSITE.COM
The initial up, dont destroy the hosting for the old site but leave it operating for a while. This will then allow us to redirect visitors in the old site to the new site. To study more, we know people have a look at: giant bean bag chairs.
30-1 redirect only shows search-engines that visit your website that the old URL has permanently changed to a different URL. Once the search engines find the 301 redirect they'll start to convert all the old links within their index across to the new area.
This will take some time and on-site internet sites, this may take months to have the various search engines convert all the old links across to the new places.
An.htaccess file is only a simple text file that contains directions for your web server that run on that hosting account.
On your computer, start a copy of NOTEPAD (This is accomplished by going Start->Accessories->Notepad) and change your existing.htaccess document or even to create a new one. DONT use Word or any word pro-cessing computer software to open the file, since these plans have the practice of applying interesting characters in file that will cause the.htaccess file to not function properly. For a second way of interpreting this, please check-out: Palmer Lake Activity Streams Gas Safe Website Blog Page 2573.
If your new sites design is precisely just like the previous site, then just place the following line in your.htaccess file
Re-direct 301 http://www.NEWSITE.COM
Now save the file, and FTP this file up in-to your sites primary bill. Of all Linux based systems, here is the service
Now, whenever a customer (be it a human or a internet search engine robot) comes to your old area, they will be re-direct to your new site. Therefore if they came looking for a file called stuff.html (old URL would be www.oldsite.com/stuff.html) they would get automatically redirected to www.newsite.com/stuff.html
Here is the simplest way to move a complete site from one site to another
If the structure of the new site is different from your old one, then we shall have to place each old URL to its corresponding new place. This also applies if you choose to change the structure of one's website, and you need to preserve the links from your own old structure and map them for their new location. Visit Delmer Bryant Activity Streams : Perekool to study the reason for it.
If you have an URL which was www.oldsite.com/dogtraining/ and you wished to direct visitors to www.newsite.com/info/dog-training.html you'd place these in your.htaccess document.
Redirect 30-1 /dogtraining/ http://www.newsite.com/info/dog-training.html
The structure is:
Re-direct 30-1 old-location new-location
The old-location could be the path to the old destination (minus the domain-name)
The new-location may be the complete path to ultimate destination (it should are the fully qualified domain-name also).
Which means when every a guest comes in around the previous URL (www.oldsite.com/dogtraining/) the net server can re-direct them to the new URL of (www.newsite.com/info/dog-training.html)
If you've multiple areas that you wish to re-direct, then you've to have multiple redirects setup. With one redirect per line. An illustration might seem like this:
Direct 30-1 /dogtraining/ http://www.newsite.com/info/dog-training.html
Redirect 301 /policedogtraining/ http://www.newsite.com/info/police-dog-training.html
Redirect 30-1 /dogtrainingvideos/ http://www.newsite.com/info/dog-training-videos.html
It's time consuming establishing 30-1 re-direct, but when your site had valuable incoming links, then its worth spending the time to keep your site successful and keep your website position as well as it used to and to protect these links..