[TYPO3-english] Get URL before redirect to login page.

Jigal van Hemert jigal.van.hemert at typo3.org
Fri Oct 25 12:48:55 CEST 2013


Hi,

On 25-10-2013 10:44, Vu Anh truong wrote:
> I enter a link in browser (example.com/index.php?id=20) when not log in.
> My site will auto redirect to log in page (example.com/index.php?id=1).
> In controller of a extension log in in login page i want to get url
> before redirect (i want to get example.com/index.php?id=20).

Search for "typolinkLinkAccessRestrictedPages" on [1]. It won't help if 
people enter URLs directly, but the links in the site can at least have 
a return URL.

[1] 
http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list