MySQLi Check New Username and query string
I would check a new user name if exist and if failed I would stay on same url rewrited page.
I have:
real url page is: mypost.php&id=1
and rewrited page is: my_post_1
so
$articleurl = my_post_1
in server behavior I set
$FailedRedirect = "$articleurl";
but I get always incorrect url as:
my_post_1&id=1
how I can remove the latest id?
Thanks