Results 1 to 7 of 7

Thread: html code

  1. #1
    Join Date
    Oct 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default html code

    Hi,
    my old site has nothing but good page rank.....i wanted to redirect it to my new site...can someone help me to redirect...?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    HTML Code:
    <html>
    <head>
    <meta http-equiv="refresh" content="0;http://www.my-new-site.com/"/>
    <title>Redirect Page</title>
    </head>
    <body>
    You should have been redirected <a href="http://www.my-new-site.com/">here</a>.
    </body>
    </html>
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Oct 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hey man ,,,,when i used this code see my site http://bernardbomjan.proboards20.com it's twisting instead of redirecting...

  4. #4
    Join Date
    Oct 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    now what to do???

  5. #5
    Join Date
    Oct 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    this is the format to redirect pages from an old webpage to your new one:
    <HTML>
    <HEAD>
    <TITLE> title goes here... </TITLE>
    <META
    Name="refresh"
    content="2; URL=http://your-site-goes-here.com">
    </head>
    and then the rest of your page if you want it.
    content is the seconds till it re-directs
    and URL of course is where it re-directs to.
    hope this helps

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Yes, he's done that, but pasted the whole thing into the body of the page, <html> tags and all. bernardmax: you need to put the <meta> tag actually in your <head>, as I've shown in the example, not copy my entire structure example code into your body.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Oct 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok then

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
  •