Help with CustomRequest issue/redirect problem

Hey all…

I have a system that allows users to create project plans/configurations and save them to a local database, as well as a SalesForce record. These individual and unique plans are accessible via a GUID I generate at build time to identify and retrieve them via a CustomRequest url, i.e.

https://mydomain.com/mtl/c56ba787-1052-4e07-8350-262699895c9e

My CustomRequest setup for this is simple and has been working flawlessly:

if the guid is in the database, the record is retrieved and displayed. if not, they get nothing - a no records found message.

My problem that has occured so for for ONE single customer only… is that for some crazy reason, it is zeroing in on a string of numbers in the GUID that I so happen to have a matching resource ID for… and it is presenting them THAT page instead…?

So in my example url:

https://mydomain.com/mtl/c56ba787-1052-4e07-8350-262699895c9e

they are getting shown the page at 1052 for some reason. instead of showing them the existing matching record for GUID c56ba787-1052-4e07-8350-262699895c9e

Any ideas on how to fix and prevent this from happening again?

Ok - found out WHY the redirect actually happened… but don’t understand HOW the redirect was created.

I found entries in my STERC Seo Tab that specifically redirected that GUID/URL

https://mydomain.com/mtl/c56ba787-1052-4e07-8350-262699895c9e

to the other resource. There were several other variations on /mt/other-guid-values redirects in there as well.

Why / where are these automatic redirects being created?

The CustomRequest plugin has to run before the SeoTab plugin in the OnPageNotFound event.

1 Like

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.