Re-directing web-traffic to a new location

Izvor: KiWi

Skoči na: orijentacija, traži

Re-directing web-traffic to a new location

The best way to maintain your links, and have readers wind up on their expected page is to setup a redirect from the old area to the new one.

If you have to go a site from one domain to still another, it'll mean that most of the links pointing to your old site would now be lost and would generate the dreaded 404 error when guests came in via old search engine listing or links.

The best way to protect your links, and have readers wind up o-n their essential page is to setup a direct from the old area to the new one.

In this case, we are going to think that we use to have a site 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 operating for a while. This may then allow us to direct visitors from your old site to the newest site.

30-1 redirect basically tells search-engines that visit your website that the old URL has completely changed to some other URL. Once the search engines find the 301 redirect they will begin to transform all the old links within their index across to-the new location.

This may take time and on-site sites, this may take weeks to have the various search engines transform all the old links across to the new places.

An.htaccess file is only a basic text file that contains directions for your web server that operate on that hosting account.

On your computer, begin a copy of NOTEPAD (This is achieved by going Start->Accessories->Notepad) and change your existing.htaccess file or to develop a new one. In the event people choose to learn additional resources about MEMBERS - Social Media Soldiers by Savn.tv, there are many online resources people should consider investigating. Since these packages have the awful habit of inserting interesting characters in file which will cause the.htaccess file never to function properly, dont use Word or some other word pro-cessing computer software to open the file.

If your new sites structure is exactly the same as the previous site, then just place the following line in your.htaccess document

Direct 30-1 http://www.NEWSITE.COM

Now save the file, and FTP this file up into your sites main bill. On most Linux based systems, this is the service

Now, whenever a customer (be it an individual or a search-engine bot) comes to your old area, they will be re-direct to your site. Therefore if they came buying document called stuff.html (previous URL would be www.oldsite.com/stuff.html) they'd get immediately re-directed to www.newsite.com/stuff.html

Here is the easiest way to move a complete site from domain to a different

In the event the construction of the new site is different from the old one, then we will need to place each old URL to its corresponding new area. This applies if you decide to change the structure of one's site, and you need to keep the links from your old structure and map them to their new location.

If you've an 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 inside your.htaccess file.

Direct 30-1 /dogtraining/ http://www.newsite.com/info/dog-training.html

The format is:

Direct 30-1 old-location new-location

The old-location could be the path to the destination (without the domain-name)

The new-location could be the full road to ultimate destination (it should range from the fully qualified domain name too).

Which means when every a guest is available in on the previous URL (www.oldsite.com/dogtraining/) the web server will direct them to the new URL of (www.newsite.com/info/dog-training.html)

If you have multiple locations that you need to re-direct, then you have to have multiple redirects setup. With one re-direct per line. A good example might appear to be this:

Direct 30-1 /dogtraining/ http://www.newsite.com/info/dog-training.html

Redirect 30-1 /policedogtraining/ http://www.newsite.com/info/police-dog-training.html

Redirect 30-1 /dogtrainingvideos/ http://www.newsite.com/info/dog-training-videos.html

It is time consuming creating 301 redirect, but when your site had useful incoming links, then its worth investing the time to keep your site lucrative and keep your website ranking along with it applied to and to protect those links.

Osobni alati