• Resolved simplepicturehanging

    (@simplepicturehanging)


    Hello all,

    Can anyone help me to stop the auto redirection of the /checkout/ page to /cart/

    I know this redirection in place for better of the customer but its affecting SEO.
    EG; SEObility shows that there are too many redirections from /checkout/ url

    Any solutions for this?

    I really appreciate your help.
    Thank you
    Chamara

Viewing 3 replies - 1 through 3 (of 3 total)
  • Remi Corson

    (@corsonr)

    Automattic Happiness Engineer

    Hi there,

    You can do so by adding this snippet to functions.php in the theme folder or via the free extension called “Code Snippets”:

    
    add_filter( 'woocommerce_checkout_redirect_empty_cart', '__return_false' );
    add_filter( 'woocommerce_checkout_update_order_review_expired', '__return_false' );
    
    Thread Starter simplepicturehanging

    (@simplepicturehanging)

    Hello @corsonr

    This fix worked.

    Thank you for your support. Excellent

    Keep well
    Thank you

    Remi Corson

    (@corsonr)

    Automattic Happiness Engineer

    Excellent, I’ll mark this as resolved then 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Stop auto /Checkout/ Page redirection’ is closed to new replies.