Should I be worried about 302 redirects?

Discussion in 'Search Engine Optimization' started by LaCabra, Aug 29, 2005.

  1. #1
    Hi All,

    I was browsing through my stats today and noticed a fair amount (3100) of 302 redirect hits. Should I be worried about 302 redirects? I mean from and optimization point of view or de-indexing point of view. I am using zen-cart and i am assuming that they are being generated while visitors/spiders browse through the online catalog. I've talked to my hosting company and they said not to worry. Am I concerned over something I shouldn't be? You can see the online catalog at www.wilpenaoutback.com/shop .:eek:

    thanks for your feedback.
    Frank
     
    LaCabra, Aug 29, 2005 IP
  2. frankm

    frankm Active Member

    Messages:
    915
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    83
    #2
    nothing to worry about, but
    your url is this:
    www . wilpenaoutback.com/shop
    the actual page is
    www . wilpenaoutback.com/shop/index.php(or something like that)

    When I open www . wilpenaoutback.com/shop (without the slash) your web server will redirect me (302) to /shop/ (with the slash) so that means 1 extra query for your server that you can do without.

    If you change all your links from /shop to /shop/ the 302's will be gone.
     
    frankm, Aug 29, 2005 IP
  3. LaCabra

    LaCabra Goats R Us

    Messages:
    1,954
    Likes Received:
    241
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Frankm,
    I've checked the config file for zen-cart and the trailing / after shop seems to be there...seee below

    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    define('HTTP_SERVER', 'http://www.wilpenaoutback.com');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://www.wilpenaoutback.com');
    // secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');


    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');
     
    LaCabra, Aug 29, 2005 IP
  4. LaCabra

    LaCabra Goats R Us

    Messages:
    1,954
    Likes Received:
    241
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry frankm, I may have misunderstood you ... I did put the trailing / on link from the front page to the shop. Is that what you were referring to?

    Thanks for your feedback.
    Frank
     
    LaCabra, Aug 29, 2005 IP
  5. frankm

    frankm Active Member

    Messages:
    915
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    83
    #5
    Oh okay, I thaught you had a 302 redirect on the /shop -> /shop/ page... maybe you should post some of these 302 lines from your log to see what's going on here.
     
    frankm, Aug 29, 2005 IP
  6. LaCabra

    LaCabra Goats R Us

    Messages:
    1,954
    Likes Received:
    241
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Okay frankm - this is what my cpanel is showing as errors - I can't see any 302 errors:
     

    Attached Files:

    LaCabra, Aug 29, 2005 IP