Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Closed Thread
Results 1 to 3 of 3

Thread: Redirect your visitors to your new site

  1. #1
    ovi Guest

    Default Redirect your visitors to your new site

    So you moved your site to a new place, but you'd like to let your visitors find your new home. You can leave a message with the link to your new place, but a more efficient way is to have the visitors be automatically redirected to your new address.

    To do this, insert the following between the HEAD tags of your page:

    <META HTTP-EQUIV="refresh" CONTENT="10; URL=http://www.YOURNEWSITE.com/">

    The code CONTENT="10; tells the browser to wait 10 seconds before transfer. You can choose however long you would like, but perhaps you'd want to avoid 0 seconds because some browsers aren't capable of handling it.

  2. #2
    OldWelshGuy's Avatar
    OldWelshGuy is offline Super Moderator OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of
    Join Date
    Oct 2004
    Posts
    1,998

    Default

    You have to be very careful using meta refresh as it can cause your site to be flagged as potential spam. Meta refresh is one way of low level cloaking in as much as you serve the content of the page to the spider, but the visitor never sees it.

    If you are redirecting I really would recommend a 301 redirect between the two pages. Here are a couple of simple 301's



    a PHP 301


    CODE

    header("HTTP/1.1 301 Moved Permanently");
    header("Location: http://www.newdomain.com/newdir/newpage.htm");
    exit();


    and ASP 301

    CODE


    <%@ Language=VBScript %>
    <%
    Response.Status="301 Moved Permanently"
    Response.AddHeader "Location", "http://www.newdomain.com/newdir/newpage.asp"
    response.end
    %>


    Cheers and sorry to complicate things.

    OWG

  3. #3
    Paul_KY is offline Senior Member Paul_KY is on a distinguished road
    Join Date
    Aug 2004
    Posts
    1,285

    Default

    Good advice.

    Wink Wink
    "There's no such thing as impossible. It's a myth. Don't believe it."

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. How to set up search engine friendly 301 page redirect
    By temi in forum General Search Engine Discussions
    Replies: 13
    Last Post: 04-20-2011, 06:02 AM
  2. Attracting Visitors
    By vallen75 in forum Running a forum
    Replies: 13
    Last Post: 11-29-2007, 05:38 AM
  3. CNAME redirect
    By lala in forum General Webmaster Talk
    Replies: 17
    Last Post: 02-14-2007, 10:59 AM
  4. 50,000 visitors to your site - FREE!
    By flishess in forum Marketplace (all other buy/sell/wanted)
    Replies: 13
    Last Post: 07-26-2005, 08:25 PM
  5. How your visitors may see your pages
    By Paul_KY in forum e-Commerce
    Replies: 3
    Last Post: 09-12-2004, 08:10 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124