FelipeHundley11

From eplmediawiki
Jump to: navigation, search

The greatest way to preserve your hyperlinks, and have guests end up on their necessary web page is to setup a redirect from the old domain to the new one.

If you have to move a web site from a single domain to one other, it will imply that all the hyperlinks pointing to your old web-site would now be lost and would produce the dreaded 404 error when guests came in through old search engine listing or hyperlinks.

The optimum way to preserve your links, and have visitors end up on their required 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 referred to as OLDSITE.COM and for some purpose we have to move everything across to NEWSITE.COM

The very first up, dont kill the hosting for the old website but leave it operating for some time. This will then enable us to redirect guests from the old site to the new web-site.

A 301 redirect basically tells search engines that check out your web page that the old URL has now permanently changed to yet another URL. Once the search engines find the 301 redirect they will commence to convert all the old links in their index across to the new location.

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

An .htaccess file is nothing additional than a very simple text file that consists of instructions for the net server that run on that hosting account.

On your Computer, get started a copy of NOTEPAD (This can be achieved by going Start->Accessories->Notepad) and edit your current .htaccess file or to build a new 1. DONT use Word or any other word processing application to open the file, considering that these packages have the horrible habit of inserting funny characters in file that will result in the .htaccess file to not function properly.

If your new web-sites structure is specifically the similar as the old web-site, then merely spot the following line in your .htaccess file

Redirect 301 save the file, and FTP this file up into your sites key 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 web site. So if they came looking for a file known as 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 entire internet site from one particular domain to another

If the structure of the new site is different from the old a single, then we will need to map every single old URL to its corresponding new location. This also applies if you make a decision to transform the structure of your internet site, and you want to preserve the hyperlinks 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 visitors to www.newsite.com/information/dog-instruction.html you would place the following in your .htaccess file.

Redirect 301 /dogtraining/ format is:

Redirect 301 old-place new-location

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

The new-place is the full path to final location (it ought to involve the completely certified domain name as well).

This implies that when just about 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-training.html)

If you have multiple locations that you want to redirect, then you have to have many redirects set up. With one particular redirect per line. An instance might look like this:

Redirect 301 /dogtraining/ 301 /policedogtraining/ 301 /dogtrainingvideos/ is time consuming setting up 301 redirect, but if your internet site had valuable incoming hyperlinks, then its worth spending the time to preserve these links and hold your internet site ranking as effectively as it utilized to and to keep your internet site profitable.

Personal tools
Namespaces

Variants
Actions
Navigation
extras
Toolbox