BeesleyMauk253

From CCCWiki
Revision as of 22:07, 9 April 2013 by 173.237.182.85 (talk) (Created page with "The greatest way to preserve your links, and have guests finish up on their essential page is to setup a redirect from the old domain to the new one particular. If you have to m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The greatest way to preserve your links, and have guests finish up on their essential page is to setup a redirect from the old domain to the new one particular.

If you have to move a site from a single domain to yet another, it will mean that all the links pointing to your old web site would now be lost and would create the dreaded 404 error when visitors came in by means of old search engine listing or links.

The finest way to preserve your links, and have visitors end up on their essential web page is to setup a redirect from the old domain to the new a single.

In this instance, we are going to assume that we use to have a domain known as OLDSITE.COM and for some purpose we have to move every little thing across to NEWSITE.COM

The first up, dont kill the hosting for the old internet site but leave it operating for some time. This will then let us to redirect guests from the old internet site to the new site.

A 301 redirect basically tells search engines that visit your website that the old URL has now permanently altered to another URL. When the search engines uncover the 301 redirect they will commence to convert all the old links in their index across to the new place.

This will take some time and on site web sites, this may possibly take months to have the search engines convert all the old links across to the new locations.

An .htaccess file is absolutely nothing much more than a basic text file that includes instructions for the internet server that run on that hosting account.

On your Computer, start off a copy of NOTEPAD (This can be accomplished by going Start->Accessories->Notepad) and edit your existing .htaccess file or to produce a new 1. DONT use Word or any other word processing software to open the file, simply because these packages have the horrible habit of inserting funny characters in file that will result in the .htaccess file to not function effectively.

If your new sites structure is specifically the very same as the old website, then just place the following line in your .htaccess file

Redirect 301 save the file, and FTP this file up into your web sites major account. On most Linux based systems, this is the /public_html/ directory

Now, anytime a visitor (be it a human or a search engine bot) comes to your old domain, they will be redirect to your new website. So 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

This is the easiest way to move an complete internet site from a single domain to another

If the structure of the new site is different from the old one, then we will need to have to map every single old URL to its corresponding new location. This also applies if you decide to modify the structure of your website, and you want to preserve the links from your old structure and map them to their new place.

If you have a URL that was www.oldsite.com/dogtraining/ and you wanted to redirect guests to www.newsite.com/info/dog-coaching.html you would spot the following in your .htaccess file.

Redirect 301 /dogtraining/ format is:

Redirect 301 old-place new-location

The old-location is the path to the old destination (minus the domain name)

The new-place is the total path to final destination (it must incorporate the completely qualified domain name as effectively).

This implies that when each and every a visitor comes in on the old URL (www.oldsite.com/dogtraining/) the internet server will redirect them to the new URL of (www.newsite.com/info/dog-education.html)

If you have several places that you want to redirect, then you have to have several redirects set up. With one particular redirect per line. An example might look like this:

Redirect 301 /dogtraining/ 301 /policedogtraining/ 301 /dogtrainingvideos/ is time consuming setting up 301 redirect, but if your web site had useful incoming links, then its worth spending the time to preserve those links and maintain your internet site ranking as properly as it used to and to maintain your website lucrative. best backlink service