I am trying to create a simple redirect to another page on login script.
Currently I am rewriting my URLS to the following format using
RewriteRule ^login$ ?i=l [L] RewriteRule ^login([^/]*)$ ?i=l&=$1
The normal URL is therefore:
domain.com/login - although I wish to be able to do the following:
domain.com/login&redirect=/account/settings (Where the "redirect" will be the
$_GET parameter that I'll be redirecting to after successful login)
My problem is if I access the above URL I get a 404 page not found. What am I doing wrong?