Submit Articles. Author Submission. Article Directory. Search Find Free Content  
Arts Business Communications Computers Fashion
Finance Health Family Online Business Politics
Education Auto Travel Food & Drink People
Login:  Password: 



:: Add To Favorites :: All Tags ::

 

 
 
 
 

How to replace the domain

Date: 22 January 2009

There are cases when to the web master, it is necessary to change the domain of the site on new - has put it not artful, but, in any case, it is necessary to face a small problem. The problem is that - how to make so, what the entering links, marked early on the old domain, resulted the visitor and the search robot on the new? The problem is decided very simply - it is necessary to use 301st redirect. The instruction is more low resulted how to realise 301st redirect on two kinds of servers - Linux and Windows.


Let's consider all seriatim. So, a Linux-server.

The purpose - to adjust 301st redirect in such a manner that at transition under the link www.yourolddomain.com/company/profile.php, the visitor and search the robot automatically perenapravljalsja on www.yournewdomain.com/company/profile.php.
The first that is necessary for making in a case with a Linux-server so it to be convinced that Apache-module ModRewrite is active.
After you have checked up it, it is required to make following actions:
• 1. In a site root create a file.htaccess. May be so, that it already is present - in this case, it will be necessary for editing, but thus do not forget to make its backup copy.
• 2. In a file.htaccess add next lines:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (. *) http:// www.yournewdomain.com / $1 [R=301, L]:
• 3. Save a file in a root of the site.

Now, that who will come under the link conducting to the old domain, will be automatically redirected on the new. As you can see - all is very simple!

Well and now about a Windows-server.

In this case, for adjustment of 301st redirect, complete access to the administrative panel is necessary. If it at you is - wonderfully if is not present it is required to address to a support service of yours hostera. We will notice, that in most cases, such access at the web master is not present, since the majority of sites do not place on own server, and furthermore - on allocated. Therefore, it is necessary to deal hosterom. More often, it is enough to write the letter and to ask to adjust 301st redirect under your requirements - hoster should make it without special delays. In case the hoster-provider refuses to satisfy your request, that time to think of what from it to refuse and find that be better.

Procedure of installation of 301st redirect for a Windows-server looks as follows:
• 1. We establish access to "Internet Services Manager".
• 2. Right cliques the mouse on a site and, in the dropped out menu, we indicate, that we wish to make from it a redirect.
• 3. We choose "Properties" and we pass in "Home Directory".
• 4. In a window "Default Web Site Properties" we set following options:
- We choose "A redirection to an URL";
- In line "Redirect to:" we enter the domain on which we wish to do a redirect;
- We note "A permanent redirection for this source" and it is pressed APPRX.

That's all - now all is ready.



Tags: HTML, Site Promotion, Meta-Tags, Description, Keywords, htaccess, robots.txt, Portfolio, WEB-site, CMS, MSN, Google Analytics, Alexa.com, Google, Yahoo, SEO, WHOIS, ICANN, DNS, Google Dance Site Promotion

Similar Articles:
Features of studying of conflicts
Sport in a pub
The relation of public opinion to a large family
Winter fashion from SELA
© Fishku.com - Article Directory. You read the article: "How to replace the domain" ↑
Author: Dmitry




 

Terms of Use

 
Copyright © 2009 www.Fishku.com - Article Directory. All Rights Reserved.
[Privacy Policy | Terms of Use | Sitemap]