Thread: URL Redirection

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

    Join Date
    Dec 2012
    Posts
    1
    Rep Power
    0

    URL Redirection


    I have reconfigured all of my url structures on my development server, but don't want to lose the existing urls indexed in Google, etc..

    How would I go about redirecting my existing URL's to the new URL's on my new server when I switch over to it?
  2. #2
  3. nobody
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Sep 2007
    Location
    Irvine, CA
    Posts
    769
    Rep Power
    72
    301 redirect. Check out this page by google

    301 redirects - Webmaster Tools Help

    Comments on this post

    • frankQuinnn agrees
    Data Oriented SEO is a way to go in modern SEO days.
    Sefati Consulting | Analytics Clarity
  4. #3
  5. No Profile Picture
    Contributing User

    Join Date
    Oct 2012
    Location
    New York
    Posts
    27
    Rep Power
    0
    For 301 Redirect you need to make changes in .htaccess file which will be hosted on your server. I want to show you code for it:

    PHP Redirect:

    <?
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: http://www.new-domain.com" );
    ?>

    In ASP:


    Open the old web page and replace all its content with the following code, replacing "www.new-location.com" with the file name of the new page.

    <%@ Language=VBScript %>
    <%
    Response.Status="301 Moved Permanently"
    Response.AddHeader "Location", "http://www.new-location.com"
    %>

    In ASP .NET:

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

    Comments on this post

    • Chedders agrees
  6. #4
  7. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Dec 2012
    Posts
    6
    Rep Power
    0
    Where you able to make this change successful? I tried it on my website and got a blank white page.
  8. #5
  9. Contributing User

    Join Date
    Mar 2003
    Location
    Atlanta, GA
    Posts
    114
    Rep Power
    12
    I just did that with a site with a url I am no longer using. It is re-directed to my new site.
    Question: What will happen when G picks it up and I get an extra few thousand links all of the sudden on my new site. Could this hit a red flag?
  10. #6
  11. SEO Consultant
    SEO Chat Genius (4000 - 4499 posts)

    Join Date
    Jul 2004
    Location
    Minneapolis, MN, USA
    Posts
    4,210
    Rep Power
    979
    Its usually preferable to do the 301 redirect with an .htaccess file. This way you can be a little more flexible in the conditions of the URLs. You can also provide redirects and rewrties for URLs that don't exist any more (which is probably the case when you upload a different site). The method discussed by cristinascabbia requires that you place this on every single page. .htaccess can handle site wide with one conditional line - or on a line by line basis if required.
  12. #7
  13. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Dec 2012
    Posts
    15
    Rep Power
    0
    Originally Posted by bkseo
    301 redirect. Check out this page by google

    301 redirects - Webmaster Tools Help

    I agree with 301 redirect as it passes 85% of value of the old URL to the new URLs and your new page sustains rankings and starts giving same value as the old URL.
  14. #8
  15. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Dec 2012
    Posts
    2
    Rep Power
    0
    URL redirection is an extremely useful service aimed at helping users point their domains or subdomains to certain URLs when necessary. This is usually needed in cases when a certain website is no longer available under its original domain name when all users linking to it need to be automatically informed of this update. Thus, the URL redirection functionality helps domain owners preserve the relevance of the incoming links to their websites.

Similar Threads

  1. 301 Redirection or not?
    By Asma in forum SEO Help (General Chat)
    Replies: 2
    Last Post: Sep 22nd, 2010, 05:55 AM
  2. 302 Redirection
    By pressmart in forum Search Engine Optimization
    Replies: 2
    Last Post: Jul 21st, 2009, 11:59 AM
  3. Why redirection?
    By susana in forum Search Engine Optimization
    Replies: 3
    Last Post: May 15th, 2008, 07:21 AM
  4. Reg Redirection
    By TommyG in forum Search Engine Optimization
    Replies: 1
    Last Post: Sep 12th, 2005, 01:13 AM
  5. Abt Redirection
    By TommyG in forum Search Engine Optimization
    Replies: 2
    Last Post: Jul 30th, 2005, 08:39 AM

IMN logo majestic logo threadwatch logo seochat tools logo