#1
  1. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Aug 2005
    Posts
    22
    Rep Power
    0

    Help me - Domain Redirection


    Greetings,

    Please kindly help me with the problem described below:

    I have an old site which has a excellent on Google, and the PR is 5 now. But for certain reasons, it must be abolished in the coming months. So I built a bran-new site and submitted to google a month ago. To my great surprise, the new site has not been listed on Google yet when I do a search [site:mydomain.com], no results... ;(

    I just don't know why. I haven't tried any sneaky, spammy tactics, the sitemap.xml file has been submitted OK, and I have added a few quality links. Yahoo, MSN has included my new site, but google...

    I conside using domain redirection, such as 301 redirection. But I am afraid it may influence the rank of old site. And I also attempt to use Javascipt code to redirect as follows:
    "<script language="javascript">location.replace("mydomain2. com/index.html")</script>"
    Is it feasible way? Or what should I do to list the new domain in Google ASAP and not slide down my old site rank on Google. It will be greatly appreciated if you can guide me how can I, or the best way should I do now.

    Regards and thanks.
    Last edited by qdise; Sep 1st, 2005 at 08:02 PM.
  2. #2
  3. Contributing User
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Apr 2005
    Posts
    1,473
    Rep Power
    20
    Redirection via Javascript or Meta Refresh tag is normally frown upon by G. The following tips will help you put a 301 on your site.

    For Apache:

    This is done with Apache 'Allow Override' directive. Find the line in your httpd.conf file which contains the AllowOverride directive. Edit this line by adding the "All" option to the end. For example; AllowOverride All Save the file and restart Apache to make the configuration change take effect.

    The next step is to actually create your .htaccess file. The .htaccess file contains two columns. The first column is what you want redirected and the second column is where you want it redirected to.

    Example:
    --------

    To redirect http://www.domain1.com to http://www.domain2.com:

    Redirect 301 http://www.domain1.com http://www.domain2.com


    For IIS:

    If you have admin access to the IIS server, follow the steps below:

    1. Start Internet Services Manager. Alternatively, start the IIS Snap-in in Microsoft Management Console (MMC).

    2. Click to expand * server name, where server name is the name of the server.

    3. Right-click either the Web site or the folder that you want to redirect, and then click Properties.

    4. Click one of the following tabs that is appropriate to your situation:

    Home Directory
    Virtual Directory
    Directory

    5. Under When connecting to this resource, the content should come from, click A redirection to a URL.

    6. Type the URL of the destination folder or Web site in the Redirect to box.

    For example, to redirect all requests for http://www.domain1.com/ to http://www.domain2.com, type http://www.domain2.com.

    7. Click OK.

    If you do not have admin access to the IIS server, do as per your underlying technology of your Windows IIS hosted website:

    ASP Version:

    Code:
    <%@ Language=VBScript %>
    <%
    Response.Status="301 Moved Permanently" 
    Response.AddHeader "Location", "http://www.domain2.com"
    %>
    ASP.NET Version:

    Code:
    <script runat="server">
    private void Page_Load(object sender, System.EventArgs e)
    {
    Response.Status = "301 Moved Permanently";
    Response.AddHeader("Location","http://www.domain2.com");
    }
    </script>
    PHP Version:

    Code:
    <?php
     header("HTTP/1.1 301 Moved Permanently");
     header("Location: http://www.domain2.com");
    ?>

    Comments on this post

    • jrothra agrees : Great guide!
    Last edited by sufyaaan; Sep 1st, 2005 at 11:56 PM.
  4. #3
  5. <--sharing means caring
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jun 2005
    Location
    Recycle Bin
    Posts
    369
    Rep Power
    15
    It won't let me give you rep sufyaaan, but nice little tutorial.

    Comments on this post

    • sufyaaan agrees : But it did let me give it to you... Thanks :mrgreen:
  6. #4
  7. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Aug 2005
    Posts
    22
    Rep Power
    0
    Hi, sufyaaan,

    Many thanks for your detailed response. But will it rapidly slide down my old site www.domain1.com ranking if I follow your above tips? I really don't want to lose my position on Google.

    Thanks again.
  8. #5
  9. Contributing User
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Apr 2005
    Posts
    1,473
    Rep Power
    20
    It will transfer old domain's pr to new domain and it will certainly affect its rankings.

Similar Threads

  1. Domain name infringement email from google
    By notanotherseo in forum Search Engine Optimization
    Replies: 27
    Last Post: Jun 14th, 2007, 01:37 PM
  2. The domain name equation (brain teaser)
    By rtangle in forum Keyword Research
    Replies: 5
    Last Post: Aug 25th, 2005, 04:53 PM
  3. Remove Indexed Pages from Search Engines and Blacklist a Domain ?
    By John1968 in forum SEO Help (General Chat)
    Replies: 2
    Last Post: Feb 25th, 2005, 03:38 PM
  4. Domain redirection
    By eBola in forum SEO Help (General Chat)
    Replies: 2
    Last Post: Jan 29th, 2005, 06:22 AM

IMN logo majestic logo threadwatch logo seochat tools logo