title: TYPO3 access restricted pages - redirect after login
body: <p>is there any actual best practice for restricted pages, login and redirects?</p>
  <p>I found a lot of examples but all for older TYPO3 / felogin /.... versions (without site configuration)</p>
  <p>I have the following scenario:</p>
  <p>I have a several restricted pages and one login page (felogin)</p>
  <p>I want to be able to deep link (e.g. send per Mail) to restricted pages - if the user is not logged in, the login form should be displayed - after successful login/registration the deep linked page should be displayed.</p>
  <p>I use TYPO3 9.5 and in the site configuration I added 403 handling to display content of my login page.</p>
  <p>This step works fine - the login page is shown.</p>
  <p>I configured referrer and GET/POST redirection in the felogin plugin but these are not working.</p>
  <p>Does anyone have an example how I could redirect to the original called (restricted) page after successful login/registration?</p>
  <p>Thank you</p>
  <p>Christian</p>