Sunday, August 26, 2012
Redirecting Web traffic to a new location
If you must move a site from one domain to another, it means that all links pointing to your old site would now be lost and would generate the dreaded 404 error when visitors came in via old search engine listing and links.
The best way to preserve your link, and have visitors end up on their page request is to set up a redirect from old domain to new.
In this example, we assume that we use to have a domain called OLDSITE.COM and for some reason we have to move everything between NEWSITE.COM
The first to wake up, do not kill the host for the old site, but leave that work for some time. This will then allow us to redirect site visitors from the old to the new site.
A 301 redirect simply tells search engines that visit your site that the old URL has now permanently changed to a different URL. Once the search engines to find the 301 redirect will begin to convert all the old links in their index in front of the new location.
This will take some time and sites of sites, this may take months to get search engines to convert all the old links between the new positions.
An. Htaccess is just a simple text file that contains the instructions for the web server running on the hosting account.
On the PC, start a copy of NOTEPAD (This can be achieved by going Start-> Accessories-> Notepad) and edit the existing one. Htaccess file or create a new one. DO NOT use Word or other word processing software to open the file, because these packages have the horrible habit of inserting "fun" font files that cause the file. Htaccess does not work properly.
If the structure of the new site is exactly the same as the old site, then just insert the following line in the file. Htaccess
301 Redirect http://www.NEWSITE.COM
Now save the file, file and FTP it up to your main web account. On systems based on Linux the most part, this is the / public_html / directory
Now, every time a visitor (be it a human or a search engine bot) comes to your old domain will redirect to the new site. So if they came looking for a file called stuff.html (old URL would http://www.oldsite.com/stuff.html) will be automatically redirected to http://www.newsite.com/stuff [. html]
This is the easiest way to move an entire site from one domain to another ...
If the structure of the new site is different from the old one, then we will need to "map" every old URL that corresponds to his new position. This applies even if you decide to change the structure of your site, and want to keep the links from the old structure and to 'map' to their new location.
If you have a URL that was http://www.oldsite.com/dogtraining/ and want to redirect visitors to [http://www.newsite.com/info/dog-training.html] you should enter the following to the file. htaccess.
Redirect 301 / dogtraining / [http://www.newsite.com/info/dog-training.html]
The format is as follows:
301 Redirect old-location new-location
The "old-location" is the way to a previous (not the domain name)
The "new-location" is the full path to the final destination (which must include the full domain name as well).
This means that when a visitor arrives on each old URL (www.oldsite.com/dogtraining/) the web server redirects them to the new URL (www.newsite.com / info / dog-training.html)
If you have multiple locations that you want to redirect, then you have multiple redirects set. With a redirect per line. An example might look like this:
Redirect 301 / dogtraining / [http://www.newsite.com/info/dog-training.html]
Redirect 301 / policedogtraining / [http://www.newsite.com/info/police-dog-training.html]
Redirect 301 / dogtrainingvideos / [http://www.newsite.com/info/dog-training-videos.html]
And 'setting in terms of time up 301 redirect, but if your site has had important inbound links, then the expense is worth the time to keep those links and keep your website ranking well and how he used to keep your site profitable .......
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment