301 redirect question ?

Discussion in 'Site & Server Administration' started by jasonb25, Jul 20, 2008.

  1. #1
    jasonb25, Jul 20, 2008 IP
  2. Yousif

    Yousif Banned

    Messages:
    233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yeah, try not to place it in the .htaccess page and instead, in the index you just redirect as such using simple HTML:

    <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">

    Try that and let us know the outcome. Good luck.
     
    Yousif, Jul 20, 2008 IP
  3. jasonb25

    jasonb25 Member

    Messages:
    968
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    33
    #3
    That code is redirecting fine but once you get to the home page it continues to refresh itself, homepage loads up and then refreshes, it continues to do this until i took the code out.

    Any ideas on why this would be happening ?

    Jason
     
    jasonb25, Jul 20, 2008 IP
  4. Yousif

    Yousif Banned

    Messages:
    233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well when they visit your website.com, that code should take them to whatever you directed such as website.com/blog. It won't make a difference if you did htttp:// or www. It's the same thing when it comes down to redirecting. Make sure you don't redirect them back to the same page where put the code on.
     
    Yousif, Jul 20, 2008 IP