The payment method works when I have the WcooCommerce > setting > advance with the cart page defined and checkout page defined, however Im getting this redirect error
Result
https://www.allproguns.com/checkout
301 Moved Permanently
https://www.allproguns.com/checkout/
302 Found
https://www.allproguns.com/cart/
200 OK
Problems found:
You use 301 and 302 redirect at the same time. This might be confusing for search engine. Generally, please do not use 301 and 302 redirects at the same time.
You use a 302 redirect. This means, that the actually content is temporary not reachable and will come back soon. To use a 302 redirection for generally moved pages is a bad idea. Search engine bot might not follow it or handle it as temporary. For SEO this is also a bad idea, because no link juice will be transferred to the linked page.
How do I fix this redirection problem for SEO purposes ?
Hi there,
The error message you received doesn’t seem to come from WooCommerce or WordPress itself.
Where do you see this error message? I suspect there might be some redirect settings for the Checkout page which are conflicting. I’d recommend removing the redirection from your plugin settings to fix this.
If you can’t figure out which plugin causes this, could you share your System Status Report, it would help us to understand your site setup a bit better. You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, paste it here in your reply.
I was checking my redirects via an external website, here is the system status report for the pages I’m having problems with. They are defined via Woocommernce > setting > advance, I just dont have the short code on the page. I built the cart and checkout page via woolementor.
Shop base: #699 - /shop/
Cart: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
Checkout: ❌ Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.
My account: ❌ Page not set
Terms and conditions: #281 - /terms-conditions/
Hi there,
If you add the shortcodes on the pages temporarily to test, I wonder what happens then, do you see the redirection error?
Also, are you using any redirection settings (maybe from a plugin) on these pages?
Only redirect are coming from rank math
Hi @mblsuperstar,
Thanks for getting back.
Kindly, could you check us on this earlier request:
“If you add the shortcodes on the pages temporarily to test, I wonder what happens then, do you see the redirection error?”
It’s a bit significant in this case since you’re using Woolementor rather than the normal WooCommerce pages with shortcodes.
To avoid affecting your existing page setup, you could try creating 2 blank pages and adding the cart and checkout shortcodes then defining them as the cart and checkout pages at WooCommerce → Settings → Advanced. From there, check if the redirection is still there.
Thanks.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.