Buying This webpage has a redirect loop - after 301 ht access

Discussion in 'Programming' started by iamalive, Dec 10, 2015.

Thread Status:
Not open for further replies.
  1. #1
    I am getting a too many redirects error when putting

    Redirect 301 / http://www.example.com/
    in the ht access from old to new site

    This webpage has a redirect loop


    ERR_TOO_MANY_REDIRECTS


    - Send a PM with the exact fix and your skype id
    I will not give access so you can state the solution in pm and if good will pay 5 bucks
     
    iamalive, Dec 10, 2015 IP
  2. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 2
    #2
    yes you are redirecting to your own site.

    What are trying to do? Force the usage of www and redirect the non www to www?
     
    stephan2307, Dec 11, 2015 IP
  3. iamalive

    iamalive Well-Known Member

    Messages:
    794
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    66.7% - 2
    #3
    This command in ht access redirects an entire site to another domain.

    Redirect 301 / http://www.example.com/
    
    Code (markup):
    The fact that you do not know that and try to sell coding services is despicable. I am not even a coder and I know this.
     
    iamalive, Dec 11, 2015 IP
  4. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 2
    #4
    You are quite full of yourself aren't you.

    So that you have now partially explained what you are trying to do I will attempt to give you a solution even though you still haven't given us the full picture. As you might notice I didn't ask what the code does I asked what you are trying to achieve.

    I am assuming that the 2 domains are pointing to the same site on the same server as otherwise you wouldn't get that loop?
    If I am correct then you might wanna try this

    
    
    
    RewriteCond %{HTTP_HOST} ^www.olddomain.com$
    Redirect 301 / http://www.example.com/
    
    Code (markup):
    If my assumption is wrong please give the full picture of what you are trying to do.

    Also keep your money as I don't want it. The generous amount you offer barely buys me a hot chocolate in the UK.
     
    stephan2307, Dec 12, 2015 IP
  5. iamalive

    iamalive Well-Known Member

    Messages:
    794
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    66.7% - 2
    #5
    @grass eating stephan I do not need your unqualified "help"
    You did not even know what the hell I was talking about. And no your retarded gibberish does not work.
    I do not care.
    Go away.

    @others I already solved this myself
    - thread closed
     
    iamalive, Dec 13, 2015 IP
Thread Status:
Not open for further replies.