ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Redirecting to absolute paths on form submission

October 23, 2012 4:32am

Subscribe [2]
  • #1 / Oct 23, 2012 4:32am

    Heiko

    135 posts

    How to force redirecting to absolute paths when submitting a Safecracker form?

    Example:

    When I set redirect_url=“register/thanks”

    on a form that’s in a template at ”{site_url}/register/account”

    sometimes it happens, that I am redirected to ”{site_url}/register/account/register/thanks”

    instead of ”{site_url}/register/thanks”.

    For some reason, setting redirect_url=”{site_url}/register/thanks” doesn’t work in these cases, although it’s perfectly acceptable in others.

    How to stop this madness?

  • #2 / Oct 23, 2012 4:38am

    Heiko

    135 posts

    Sorry guys, once again I fixed it after yet another post-posting-epiphany! 😛

    It was a Membrr-thing, that I confused with the native return-parameter.

  • #3 / Oct 23, 2012 4:35pm

    Shane Eckert

    7174 posts

    Hey Heiko,

    Thank for letting us know! Glad you got this figured out.

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases