s2MOP SEEKING_URI incorrect

I’m trying to create a custom login button on my MOP page, using [s2MOP /] to access the referring webpage for re-direction. %%SEEKING_URI%% is returning an incorrect URI path, which looks like it’s repeating sub-folders twice in the path.

So if my restricted page is at: http://sample.com/wordpress/my-post/ (where my Wordpress install root is at http://sample.com/wordpress/), then the %%SEEKING_URI%% is returning me http://sample.com/wordpress/wordpress/my-post/.

Example

This page shows my problem. If you hover over the SIGN-IN button in the gray box, you’ll see the incorrect redirect URI. You’ll also see it printed out on the page.

http://dev.jerrytchan.com/online-yoga-classes/dev/clarity-flow/

Looks like a bug.

Is there any other way to get the referring URI, so I can re-direct to the initial page the user wanted to view? Trying to do this on the front-end to make things as simple as possible.

Write a line of javascript to strip the duplicate path data would be the simplest.

1 Like