How to immediately redirect to an entry after creating the new entry from a frontend form?
I think the answer is as simple as providing the new Entry's URI to the redirectInput function:
&lt;form method=&quot;POST&quot;&gt;
  {{ actionInput('entries/save-entry') }}
  {{ redirectInput('{uri}') }}

  &lt;input type=&quot;text&quot; name=&quot;title&quot;&gt;
  &lt;button&gt;Save!&lt;/button&gt;
&lt;/form&gt;

Craft looks at the string you pass in, and evaluates it as an &quot;object template,&quot; wherein you can use the short-hand syntax here ({uri}) to access properties of the saved Entry.

Keep in mind! The behavior here differs based on what Controller you're using—sometimes it'll be a different kind of Element, which may or may not have a useful/predictable uri (i.e. if you're updating an Asset).

The &quot;template&quot; you pass in can be as complex as you want. For example, if the form was part of your dashboard, you might want to prepend with a path of some kind:
{{ redirectInput('my-account/orders/{id}') }}

Similarly, you can use regular Twig syntax here—Craft just does some of these easy substitutions for you:
{{ redirectInput('my-account/orders/{{ object.id }}') }}


Note that the &quot;template&quot; won't get rendered in the actual request, so you'll see exactly what you typed here (well, plus a hash of the string, so users can't manipulate it)—it's only evaluated when submitted.

For more info, check out the redirectToPostedUrl($object) method!