I have updated to Suitecommerce Advanced 2023.1.2 ...
# suitecommerce
m
I have updated to Suitecommerce Advanced 2023.1.2 and am getting a redirect loop on some pages. It seems to detect a matching item page fragment and appends ?quantity=1, which then sends it into a 301 redirect loop. This is an old link with a subfolder in the url that does not work in SCA, but it still out there indexed in google or bookmarked, etc. Just wondering if anyone has encountered this issue? I do have a support case open, but not getting anywhere yet. Looking in the code it appears to have something to do with SCIS, although we don't use that.
s
I’m looking at your case. How have you set up the redirect URL because it looks like you set up a redirect that points to itself?
m
Hello, if we remove ALL redirects the page works correctly, or if we are logged in so the SEO page generator doesn't fire, it also works correctly. But otherwise we get this loop with the ?quantity=1 appended. However, there's no exact match in the redirects that I can see that would loop, unless there's some hidden matching on /en for language? I removed everything I could find in the redirects that might be an issue.
s
Well, the redirect is happening in the SEO page generator. I think the appending of quantity=1 is a red herring - it’s standard functionality. I’ve never seen “Redirected from SEO generator.” as a redirect reason before
If it was a redirect that you had created then it would say “user-defined redirect”
m
I only get that "SEO Generator" SEODebug message if I am detected as logged in. If you need a web user login to test with I can provide one on the case, just let me know.
s
I get it while logged out
In the response headers
m
OK, thank you for looking into it.
s
It’s EOD for but it is certainly very curious. The only thing that stands out is this content block, which is referencing the local version of your shopping domain. It seems like an odd thing, recreating it with a correct path?
I’m actually surprised it works at all
It certainly looks like a problem in the page generator somewhere. If you swap out the problematic URL into the DOM and just click a fake link to the URL, it redirects correctly
So IDK, it’s like there’s some script running at page generation that makes it get stuck in a loop
m
Yes that's pointing at an old touchpoint. Hmm.
That's on production or the support copy?
s
production
Also it’s not the specific product URL per se that’s the problem, it’s the evaluation of the structure
As long as you use the path for any valid product you can put crap before it and cause the error
eg /weifweiofjwioefjiow/matrikx-chloraguard-4-25-x-9-75-36-450-10-green will cause an error
The routing system is trying to strip out the garbage at the front but then, for some reason, going to that url and starting again
And I can replicate this problem on any site: https://suitecommerce.stevegoldberg.co.uk/fwefwefwefwef/Rishi-Jacket for eg
m
OK, good, so we know it's not just us then.
m
I did see something about redirects fixed in backbone 1.4.1 routes, but not sure if that applies to this situation. Let me know if you need any more info from me. Thank you!