WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 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
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.