1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What is the best redirect if you can't use 301 or 302?

Discussion in 'Search Engine Optimization' started by NewComputer, May 30, 2005.

  1. #1
    I don't have the ability on one of my server's (not mine, but the host of the sites) and I have recently updated all the pages (basically changing all the page names and extensions). I was considering using the following in the old pages as a redirect:

    <!-- Begin
    redirTime = "1";
    redirURL = "http://www.my url.com";
    function redirTimer() { self.setTimeout("self.location.href = redirURL;",redirTime); }
    // End -->


    and then putting in the body onLoad="redirTimer()"

    Would this be SEO friendly? Would the engines figure it out?
     
    NewComputer, May 30, 2005 IP
  2. YoungSmeagol

    YoungSmeagol Well-Known Member

    Messages:
    402
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Google and yahoo deindex redirects. I have had a redirect in MSN though. For some reason they added my redirect when they haven't even crawled the majority of my site.

    If the Search Engines accepted redirects then everyones customized 404 page would be in the search engines.
     
    YoungSmeagol, May 30, 2005 IP
  3. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #3
    What I am saying though is, will they follow it to the new site and index it as the same using that method? I don't really have any other alternatives... The site I am redoing is written terribly...
     
    NewComputer, May 30, 2005 IP
    YoungSmeagol likes this.
  4. jbw

    jbw Peon

    Messages:
    343
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hmmm..why not alternatives? No php? no cgi? How about the above with a meta tag redirect at least?
     
    jbw, May 30, 2005 IP
  5. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #5
    jbw,

    As I have never had this problem before, I am looking for any that I can use. I have always been able to use the proper redirects, until this site. Can you give me an example of the ones that you posted above?

    Basically, I could not use CGI. PHP I know is supported and enabled, but I am not sure how I would code that. Meta Tag redirects, I have no idea what those are.

    How I was going to do it now was paste the above code into all the old pages with the redirect going to the home page.

    Any better ideas would be greatly appreciated. The new server that I am moving the site to will support everything I am trying to do in the future.
     
    NewComputer, May 30, 2005 IP
  6. jbw

    jbw Peon

    Messages:
    343
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    for the php, you would use

    header("Location: http://www.my url.com");
     
    jbw, May 31, 2005 IP
    YoungSmeagol likes this.
  7. Cheater

    Cheater Peon

    Messages:
    54
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Do a META Refresh. :)
     
    Cheater, May 31, 2005 IP
  8. jbw

    jbw Peon

    Messages:
    343
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8

    That is the other option, but the problem with that is they are not usually parsed by the search engines are they?
     
    jbw, May 31, 2005 IP
  9. Cheater

    Cheater Peon

    Messages:
    54
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Actually most engines get them including Google and Yahoo.

    They are much better than using javascript.
     
    Cheater, May 31, 2005 IP
  10. markkk

    markkk Well-Known Member

    Messages:
    1,143
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    140
    #10
    How about putting your site a tiny flash swf redirect using action script ?


    Cheers! :D
     
    markkk, May 31, 2005 IP
  11. jbw

    jbw Peon

    Messages:
    343
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #11

    Well that I agree with, if you saw my first post, I said use php or Meta refresh.

    The javascript would just work for browsers.
     
    jbw, May 31, 2005 IP
  12. Ian

    Ian Well-Known Member

    Messages:
    409
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    125
    #12
    Agreed. I have a page that has a metarefresh that brings users to the correct page and Google indexed it and ranked it just fine.

    Ian
     
    Ian, May 31, 2005 IP
  13. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #13
    How do I create a meta refresh page? I will search it out, but if someone wants to answer quickly, that would be helpful...
     
    NewComputer, May 31, 2005 IP
  14. jbw

    jbw Peon

    Messages:
    343
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Since you asked for an example:

    I put the php in an earlier post, now here is a meta refresh example

    
    <html>
    <head>
    <META HTTP-EQUIV="refresh" content="2;URL=http://www.example.com/newpage.html">
    <title>Page has moved</tile>
    </head>
    <body>
    whatever you want to write
    </body>
    </html>
    
    Code (markup):
    You are better off using the php solution if you can though. This is then the second best, far better then the js version to use.
     
    jbw, May 31, 2005 IP
  15. YoungSmeagol

    YoungSmeagol Well-Known Member

    Messages:
    402
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #15
    My mistake. Yahoo indexed one of my redirects so I guess I was wrong. Sorry. :( I think I will retire from posting.

    <meta http-equiv="REFRESH" content="0;url=http://">
     
    YoungSmeagol, Jun 13, 2005 IP
  16. jlawrence

    jlawrence Peon

    Messages:
    1,368
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Using php, you can directly write the headers. So you can specify either a 302 or a 301.
    There was a thread on this recently, but I can't find it at the moment.
     
    jlawrence, Jun 14, 2005 IP
  17. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #17
    If you can find it, that would be very helpful...
     
    NewComputer, Jun 14, 2005 IP
  18. YoungSmeagol

    YoungSmeagol Well-Known Member

    Messages:
    402
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #18
    YoungSmeagol, Oct 12, 2005 IP
  19. Jim_Westergren

    Jim_Westergren Notable Member

    Messages:
    1,882
    Likes Received:
    247
    Best Answers:
    0
    Trophy Points:
    235
    #19
    Meta refresh noooooooo !

    Javascript noooooo !

    301 is the only way to go about this.

    If you cannot use the 4 methods of 301 explained here:
    http://www.seofaq.net/#51

    Then my advise is just one huge link on it that tell the visitors to go to the new site. That will flow PR as well but the best is 301.

    Meta and javascript is very risky and get you into filters.
     
    Jim_Westergren, Oct 12, 2005 IP
  20. sleuth1

    sleuth1 Well-Known Member

    Messages:
    261
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #20
    If you use Cpanel for your hosting ( which is very popular) you will create a 301 by > Cpanel > Redirects >DropDown Box > Permanent

    With on page meta refresh =0 Yahoo seems ok with these , Google will immeadiatley drop your serp for a few days (it will return still showing as original page address), you can use =2 or more but it is clumsy and may lead to other problems
     
    sleuth1, Oct 12, 2005 IP