typo3-realurl
typo3-realurl copied to clipboard
Enable 404 Error Handling for Userfunc
Because of some old content in the Google Index i tried to get a 404 Error for no longer existing subpages configured via userfunc in the fixedPostVars. So I update the UrlDecoder Class and added the following to the realurl configuration: array( 'GETvar' => 'myVar', 'enable404forInvalidAlias' => 1, 'userFunc' => .... )
If there was already an existing way to do this, I'm sorry I wasn't able to find it. :)
Why can't userFunc throw error itself?