Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default The page isn’t redirecting properly

    Hey guys.... I have a head scratcher on a 1.5.4 store running PHP 5.6

    This page https://www.marysminiatures.net/ index.php?main_page=product_info&products_id=8714 is for a deleted product. The page is trying (like 20x) to redirect to https://www.marysminiatures.net/ index.php?main_page=product_info&products_id=0 which obviously doesn't exist.

    The store is set to send missing pages to page_not found which is working for other 404's... This redirect never completes and Google is crying about it in webmaster's tools.

    Any ideas?

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  2. #2
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default Re: The page isn’t redirecting properly

    It makes a loop of rederict 302 infinite, but would not it be better to make a rederict on a page that exists and that comes close to that product? Or do a rederict on page 404? always better than having an infinite rederict
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  3. #3
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default Re: The page isn’t redirecting properly

    No a 404 is the correct response as the page no longer exists. We re-use product page when we can, but we delete products by the hundreds a month due to them going out of stock. Besides, it is not redirecting properly, that's the point.
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  4. #4
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default Re: The page isn’t redirecting properly

    Ups I did not understand, but it does so with any product that does not exist, it seems that page 404 is not loaded. if you go www marysminiatures dot / index.php? main_page = index & cPath = 61111111 nonexistent category has a header 200 instead of 404 page not found, instead if it is a product that does not exist goes in loup with a rederict 302. Obviously if a product does not exist the better it is a 410, I have solved by putting a header 410 instead of a 404 on module / page / product_info / header.php. But here the thing seems more complicated is not that has changed some files the customer?

    There are errors in the log folder
    Last edited by diamond1; 17 May 2018 at 08:17 PM.
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  5. #5
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default Re: The page isn’t redirecting properly

    The correct response is a 404... that is what it is supposed to do and that is what I need to happen. I have already checked logs and relevant files. I appreciate your concern, but I don't need an opinion about a response code when it can never happen because the page is redirecting incorrectly.
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: The page isn’t redirecting properly

    Quote Originally Posted by mprough View Post
    Hey guys.... I have a head scratcher on a 1.5.4 store running PHP 5.6

    This page https://www.marysminiatures.net/ index.php?main_page=product_info&products_id=8714 is for a deleted product. The page is trying (like 20x) to redirect to https://www.marysminiatures.net/ index.php?main_page=product_info&products_id=0 which obviously doesn't exist.

    The store is set to send missing pages to page_not found which is working for other 404's... This redirect never completes and Google is crying about it in webmaster's tools.

    Any ideas?

    ~Melanie
    where did you set the store to send missing pages to page_not found? from within ZC (and if so where)? or from a cpanel or other domain setting?

    in addition, can you post the complete contents of:

    /includes/modules/pages/product_info/header_php.php
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default Re: The page isn’t redirecting properly

    Configuration >> My Store >> Missing Page Check
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: The page isn’t redirecting properly

    Quote Originally Posted by mprough View Post
    Configuration >> My Store >> Missing Page Check
    the MISSING_PAGE_CHECK checks 1 thing and 1 thing only; whether the $_GET variable for main_page is valid. which in your URL, it clearly is. that variable is product_info.

    i'm still waiting for the code of the script that i requested which may provide more light on the subject.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #9
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default Re: The page isn’t redirecting properly

    What script?
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  10. #10
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: The page isn’t redirecting properly

    Quote Originally Posted by carlwhat View Post
    in addition, can you post the complete contents of:

    /includes/modules/pages/product_info/header_php.php
    the script listed above.... or perhaps you call it a file?

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 logoff page isn't redirecting properly
    By Congerman in forum General Questions
    Replies: 57
    Last Post: 29 May 2018, 11:26 AM
  2. The page isn’t redirecting properly
    By rbarbour in forum General Questions
    Replies: 5
    Last Post: 31 Mar 2018, 08:06 PM
  3. v151 Downloadable Product - The page isn’t redirecting properly
    By welshop.com in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 20 Nov 2017, 09:38 PM
  4. "The page isn't redirecting properly" - when maintenance is on
    By sanji in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 19 Jun 2011, 06:07 PM
  5. The page isn't redirecting properly - HELP
    By SirBuck in forum General Questions
    Replies: 4
    Last Post: 12 Sep 2007, 05:20 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR