Re-directing web traffic to a new area 98450

Izvor: KiWi

Skoči na: orijentacija, traži

The simplest way to maintain your links, and have readers end up on their required page is to setup a direct from the old domain to the new one.

It'll imply that most of the links pointing to your old site would now be lost and would produce the dreaded 404 error when visitors came in via old internet search engine list or links, If you have to maneuver a website from site to still another.

The easiest way to preserve your links, and have guests end-up o-n their essential page is to setup a redirect from the old site to the new one.

In this example, we're going to believe that we use to have a domain called OLDSITE.COM and for whatever reason we have to move everything across to NEWSITE.COM

The very first up, dont destroy the hosting for the old site but keep it operating for a while. This can then allow us to redirect visitors from-the old site to the newest site.

A 301 direct simply shows search engines that visit your website that the old URL has now completely changed to another URL. They'll begin to convert all the old links within their catalog across to the new location once the search engines find the 301 redirect.

This may take time and on site web sites, this may take weeks to get the various search engines change all of the old links across to the new places.

An.htaccess file is simply a simple text file that contains guidelines for the web server that run-on that hosting account.

On your personal computer, begin a copy of NOTEPAD (This is accomplished by going Start->Accessories->Notepad) and edit your existing.htaccess document or even to develop a new one. Since these plans have the horrible habit of placing funny characters in file which will cause the.htaccess file never to function properly, dont use Word or any word pro-cessing software to open the file.

If your new sites construction is strictly just like the previous site, then just place the following line-in your.htaccess report

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

Now save yourself the file, and FTP this file up in-to your internet sites main consideration. On most Linux-based systems, this is actually the /public_html/ index

Now, each time a visitor (be it an individual or even a search engine bot) comes to your old domain, they will be re-direct to your brand-new site. So if they came buying document named stuff.html (previous URL would be www.oldsite.com/stuff.html) they would get automatically redirected to www.newsite.com/stuff.html

This is the simplest way to move an entire site from one area to another

If the structure of the new site differs from the old one, then we shall need to map each old URL to its corresponding new place. This applies if you decide to change the structure of the site, and you want to maintain the links from your own old structure and map them with their new location.

You wished to re-direct people to www.newsite.com/info/dog-training.html and if you've an URL that has been www.oldsite.com/dogtraining/ you would place the following in your.htaccess report.

Redirect 301 /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 way to the spot (without the domain name)

The new-location is the complete path to final destination (it must include the fully qualified domain name as well).

This means that when every a guest comes in to the old URL (www.oldsite.com/dogtraining/) the internet server will direct them to the new URL of (www.newsite.com/info/dog-training.html)

If you have multiple areas that you want to re-direct, then you have to have multiple redirects put up. With one re-direct per line. An illustration may appear to be this:

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

Direct 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 establishing 30-1 re-direct, but if your site had useful incoming links, then its worth spending the time to protect these links and keep your website rank as well as it used to and to keep your site lucrative. To check up additional information, people are able to have a look at: details.

Osobni alati