Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How do I redirect to a post after submission with gravity forms. It gives you the option to put in query string values but when I add {post_id}/{Video Title:1} I get mysite.com/?123/name+of+post and it just goes back to the homepage. My permalink structure is post_id/postname and {Video Title:1} equals the post name but it uses plus sings instead of dashes. What am I doing wrong?

share|improve this question
    
Have you tried to use p={post_id} as query string? –  toscho Apr 29 '12 at 22:27
    
God that makes feel so stupid. Thanks toshco. –  Pollux Khafra Apr 29 '12 at 22:43

1 Answer 1

up vote 3 down vote accepted

Set the query string to p={post_id}. WordPress will redirect it to the proper URI then automatically.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.