BastianMuro118

From eplmediawiki
Jump to: navigation, search

The very best way to preserve your links, and have visitors finish up on their needed page is to setup a redirect from the old domain to the new a single.

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

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

In this example, 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 web site but leave it operating for some time. This will then permit us to redirect guests from the old website to the new website.

A 301 redirect just tells search engines that go to your web site that the old URL has now permanently changed to yet another URL. When the search engines find the 301 redirect they will begin to convert all the old links in their index across to the new place.

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

An .htaccess file is absolutely nothing far more than a simple text file that contains guidelines for the web server that run on that hosting account.

On your Pc, commence a copy of NOTEPAD (This can be achieved by going Commence->Accessories->Notepad) and edit your current .htaccess file or to generate a new one. DONT use Word or any other word processing software program to open the file, simply because these packages have the horrible habit of inserting funny characters in file that will trigger the .htaccess file to not function effectively.

If your new websites structure is exactly the exact same as the old site, then basically spot the following line in your .htaccess file

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

Now, whenever a visitor (be it a human or a search engine bot) comes to your old domain, they will be redirect to your new internet site. So if they came hunting 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 complete site from one domain to another

If the structure of the new site is distinct from the old one particular, then we will require to map each and every 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 location.

If you have a URL that was www.oldsite.com/dogtraining/ and you wanted to redirect guests 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-location is the path to the old destination (minus the domain name)

The new-location is the complete path to final destination (it need to include the completely qualified domain name as properly).

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

If you have a number of locations that you want to redirect, then you have to have a number of redirects set up. With a single redirect per line. An example may appear like this:

Redirect 301 /dogtraining/ 301 /policedogtraining/ 301 /dogtrainingvideos/ is time consuming setting up 301 redirect, but if your website had beneficial incoming links, then its worth spending the time to preserve these links and preserve your web site ranking as effectively as it employed to and to keep your website profitable. best backlink service

Personal tools
Namespaces

Variants
Actions
Navigation
extras
Toolbox