The users country and preferred language and other facts will be detected. Depending on configurable rules the user can be redirected to other languages or pages. New functionality can be added easily.
In this case you are not redirected to page 25 but you stay on the page where you are. The reason is, that the RedirectToPid method adds all URL parameters when trying to redirect, including the ID of the current page. The resulting redirect URL is something like this: www.example.com/index.php?id=25&L=0&id=1.
When adding the current URL parameters the parameter id should be left out if a specific page ID to redirect to has been defined.
Error occurs when defining a redirect action to a specific page like this:
In this case you are not redirected to page 25 but you stay on the page where you are. The reason is, that the RedirectToPid method adds all URL parameters when trying to redirect, including the ID of the current page. The resulting redirect URL is something like this: www.example.com/index.php?id=25&L=0&id=1.
When adding the current URL parameters the parameter id should be left out if a specific page ID to redirect to has been defined.
Pull request: #4