Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2009
    Posts
    66
    Plugin Contributions
    0

    Default why is my site redirecting with a 302?

    i have been solving this problem for weeks, hope someone can help me out, this is what i get for my zencart domain header under test

    HTTP Status Code: HTTP/1.1 302 Moved Temporarily
    Date: Wed, 07 Oct 2009 03:35:15 GMT
    Server: Apache
    Cache-control: private
    Set-Cookie: cookie_test=please_accept_for_session; expires=Fri, 06-Nov-2009 03:35:15 GMT; path=/; domain=www.mysite.com
    Location: http://www.mysite.com/index.php?zenid=
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/html

    something wrong here? as a 302 seems not good for googlebot to index,

    and when i use xenu software to check i got the following result

    List of redirected URLs
    http://www.mysite.com/
    redirected to: http://www.mysite.com/index.php?zenid=
    status code: 302 (object temporarily moved)
    This URL is part of a redirection loop:
    http://www.mysite.com/
    http://www.mysite.com/index.php?zenid=
    http://www.mysite.com/index.php?zenid=
    linked from page(s):

    http://www.mysite.com/index.php?zenid=
    redirected to: http://www.mysite.com/index.php?zenid=
    status code: 302 (object temporarily moved)
    This URL is part of a redirection loop:
    http://www.mysite.com/index.php?zenid=
    http://www.mysite.com/index.php?zenid=
    linked from page(s):
    http://www.mysite.com/

    my main mage redirect to index.php?zenid= what's the problem here? i have search all the post but never got a simliar problem and solution

    Thanks

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: zencart redirect

    I'd start with getting rid of the:
    ?zenid=

    in those ... you should never post, email, or add a zenid to anything ... that is the session id and managed by Zen Cart ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    May 2009
    Posts
    66
    Plugin Contributions
    0

    Default Re: zencart redirect

    how can i get rid of the zenid? as i know the
    first time visit zen store there must be a ?zenid= behind
    ie. mysite.com/index.php?zenid=

    then the next click will disappear, however why will cause a redirect loop for that? any suggestion can give us to try it out?

    we can't figure out how to solve the problem, any similar case do people encounter ??
    thank you so much, weeks of searching still make us disapointed~

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: zencart redirect

    It sounds like you have something set up in your hosting account or your domain registrar to make the 302 redirect. You'll need to remove that.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    May 2009
    Posts
    66
    Plugin Contributions
    0

    Default Re: why is my site redirecting with a 302?

    we've got this reply from our godaddy host:

    Thank you for contacting Online Support. It appears that you would like to modify the headers of your Zen Cart index page. Please note, this would require customer scripting.Unfortunately, we do not provide coding or scripting support. We recommend performing a search on a search engine for more information. We appreciate your patience and understanding on this matter.

    If this is not what you are trying to accomplish, please clarify what you are trying to do, and we will be happy to assist you further.

    have to modify the headers of the index page?? is that true we never change any of those script as well

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: why is my site redirecting with a 302?

    You SHOULD NOT need any "header scripting". The ONLY reason to need that would be if you've modified Zen Cart and broken something, or if your domain setup is configured wrong.

    1. Your Domain Registration might have "forwarding" turned on with a 302 redirect. You need to make sure it does NOT have forwarding on.
    2. You also DO NOT want it running in a frame.
    3. What are all your settings in Admin->Configuration->Sessions? Did you ever change anything in there? If yes, then WHY?
    4. How did you install Zen Cart?
    5. What addons/customizations do you have installed?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    May 2009
    Posts
    66
    Plugin Contributions
    0

    Default Re: why is my site redirecting with a 302?

    1. we did move the host from somewhere to godaddy, same domain, is it the reason cause ?

    3.
    cookie doman true
    force cookie use true
    check ssl session id false
    check user agent false
    check ip address false
    prevent spider sessions true
    recreate session true
    ip to host conversion status true

    we did change the force cookie use to true before

    4. follow the installation guide here
    5. no addon installed

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: why is my site redirecting with a 302?

    If you change "Force Cookie Use" back to False, what happens?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    May 2009
    Posts
    66
    Plugin Contributions
    0

    Default Re: why is my site redirecting with a 302?

    HTTP Status Code: HTTP/1.1 302 Moved Temporarily
    Date: Fri, 09 Oct 2009 16:30:16 GMT
    Server: Apache
    Cache-control: private
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Pragma: no-cache
    Set-Cookie: zenid=uk9214buenf3jnjklbpgu12qj7; path=/; domain=www.mysite.com
    Location: http://www.mysite.com/index.php?zeni...jnjklbpgu12qj7
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/html

    it seems the same testing result but there is a long string behind the zenid=

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: why is my site redirecting with a 302?

    So, no 302 now?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Redirecting a subcategory to an external site
    By DSCARMS in forum General Questions
    Replies: 42
    Last Post: 20 Jun 2011, 05:32 PM
  2. site is 302 redirecting with zen id?
    By bonnit in forum General Questions
    Replies: 13
    Last Post: 5 Mar 2011, 07:40 PM
  3. Admin login redirecting to an outside site
    By Danielle in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 5 Mar 2010, 06:41 PM
  4. 302 redirect with languages vs search engines
    By xordox in forum Bug Reports
    Replies: 1
    Last Post: 1 Nov 2008, 01:34 PM
  5. 302 Redirect error with worldpay mod
    By crazycucumber in forum General Questions
    Replies: 1
    Last Post: 23 May 2007, 01:27 PM

Posting Permissions

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