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

closed as off-topic by birgire, Pieter Goosen, Johannes Pille, mrwweb, ialocin Sep 5 at 11:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the 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

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