ユーザ用ツール

サイト用ツール


redirecting_web-traffic_to_your_new_location

The easiest way to keep your links, and have visitors end-up o-n their required page is to setup a direct from the old site to the new one.

It will mean that all of the links pointing to your old website would now be lost and would produce the dreaded 404 error when guests came in via old se list or links, If you have to move a site from one site to still another.

The easiest way to maintain your links, and have readers end-up on their essential page is to setup a direct 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 leave it running for sometime. This will then allow us to direct visitors in the old site to the new site.

A 301 redirect only tells search engines that visit your website that the old URL has now permanently changed to some other URL. Once the search engines find the 301 redirect they will start to convert all the old links in their index across to the new area.

This may take a while and on-site internet sites, this may take weeks to get the search engines transform all of the old links across to the new areas.

An.htaccess file is only a simple text file that contains guidelines for the web server that run using that hosting account.

On your computer, begin a copy of NOTEPAD (This is accomplished by going Start→Accessories→Notepad) and revise your existing.htaccess document or to produce a new one. DONT use Word or any other word pro-cessing software to open the file, because these packages have the horrible habit of placing funny characters in file that will cause the.htaccess file to not function effectively.

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

Re-direct 301 http://www.NEWSITE.COM

Now save the file, and FTP this file up in-to your web sites primary consideration. On most Linux-based systems, this is actually the listing

Now, every time a customer (be it an individual or a internet search engine bot) comes to your old site, they'll be redirect to your new site. So if they came buying document named 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 method to move a complete site from one area to another

When the construction of the new site is different from the old one, then we'll have to map each old URL to its corresponding new place. This applies if you choose to change the structure of one's site, and you need to maintain the links from your old structure and guide them with their new location.

If you've an URL that was www.oldsite.com/dogtraining/ and you wished to redirect visitors to www.newsite.com/info/dog-training.html you would place the following within your.htaccess file.

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

The structure is:

Direct 301 old-location new-location

The old-location will be the road to the spot (without the domain name)

The new-location will be the full way to final destination (it must are the fully qualified domain-name too). Identify further about [http://nickvassilev.com/ www.nickvassilev.com/] by visiting our impressive article directory.

This means that when every a customer is available in on the previous URL (www.oldsite.com/dogtraining/) the net server can direct them to the new URL of (www.newsite.com/info/dog-training.html)

If you have multiple locations that you want to re-direct, then you've to have multiple blows create. With one redirect per line. An illustration may appear to be this:

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

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

Re-direct 301 /dogtrainingvideos/ http://www.newsite.com/info/dog-training-videos.html

It's time consuming creating 30-1 direct, but if your site had important incoming links, then its worth spending the time to keep your site lucrative and keep your website position together with it applied to and to preserve these links.

redirecting_web-traffic_to_your_new_location.txt · 最終更新: 2014/04/06 12:15 by erma439