Redirect to Different URL After Community Event Submission Not Working

Home Forums Calendar Products Community Events Redirect to Different URL After Community Event Submission Not Working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #122402
    irishrunner16
    Participant

    I tried adding this snippet to my theme’s functions.php file, but for some reason it is still redirecting to the site homepage and not the url I’ve entered. I must not have input the url correctly…

    I replaced home_url() with ‘http://mysitedomain.com/wpcalendar/event-submitted/’ and also tried putting double quotes around the url but that didn’t work either. What am I doing wrong?

    Thank you,
    Sean

    #122406
    irishrunner16
    Participant

    Oh man…do I feel dumb! Just realized that I need to put the custom URL inside of the existing brackets, like so: home_url(http://www.myurl.com)

    Sorry for the unnecessary post…hope you got a laugh out of this as I did (once I realized the simple mistake)!

    #983137
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Redirect to Different URL After Community Event Submission Not Working’ is closed to new replies.