WomackSaravia591

From eplmediawiki
Jump to: navigation, search

The best way to maintain your links, and have guests wind up on their required page is to setup a direct from the old area to the new one.

When you yourself have to move a website from area to some other, it will signify all of the links pointing to your old site would now be lost and would make the dreaded 404 error when guests came in via old search engine listing or links.

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

In this case, we are going to believe that we use to have a website called OLDSITE.COM and for whatever reason we've to move everything across to NEWSITE.COM

The first up, dont kill the hosting for the old site but leave it working for sometime. This will then allow visitors to be redirected by us from the old site to the new site.

A 301 direct just shows search-engines that visit your internet site that the old URL has completely changed to a different URL. Once the search engines find the 301 direct they will begin to convert all the old links inside their list across to the brand new area.

Some time will be taken by this and on site internet sites, this can take months to truly have the search-engines change all the old links across to the newest areas.

An.htaccess file is simply a simple text file that contains instructions for the internet server that operate on that hosting account.

On your computer, begin a of NOTEPAD (This is often accomplished by planning Start-> Accessories-> Notepad) and change your existing.htaccess document or even to create a new one. DONT use Word or some other word processing software to open the file, since these plans have the awful practice of placing funny characters in file which will cause the.htaccess file not to function effectively.

Then simply place the following line in your.htaccess report, if your new sites structure is exactly just like the old site

Redirect 301 save the file, and FTP this file up in to your websites primary account. Of all Linux based systems, this is the /public_html/ listing

Now, each time a guest (be it a human or a se bot) comes to your old area, they'll be direct to your site. Therefore if they came buying a 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 actually the simplest way to move a whole site in one area to another

If the construction of the new site is different from the old one, then we will need to map each old URL to its corresponding new area. This also applies if you decide to change the structure of your website, and you need to maintain the links from your old structure and place them for their new location.

You wished to redirect people to www.newsite.com/info/dog-training.html and if you've a URL which was www.oldsite.com/dogtraining/ you would place the following in your.htaccess report.

Redirect 301 /dogtraining/ structure is:

Redirect 301 old-location new-location

The old-location could be the road to the old spot (minus the domain name)

The new-location may be the complete path to final destination the fully qualified domain name must be included by it as well).

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

If you've multiple areas that you wish to direct, then you've to have multiple redirects setup. With one redirect per line. A good example may appear to be this:

Redirect 301 /dogtraining/ 301 /policedogtraining/ 301 /dogtrainingvideos/ is time consuming setting up 301 redirect, but if your site had valuable incoming links, then its worth investing the time to maintain those links and keep your site ranking along with it used to and to keep your site worthwhile. SetserPearce503 - WikIBedia

Personal tools
Namespaces

Variants
Actions
Navigation
extras
Toolbox