Since no one seems to bother with documenting this, and I just finished banging my head against this issue where the redirect just keeps reloading itself and not going to the page specified. To fix it you MUST do the quotation marks in the META HTTP-EQUIV line correctly:
Bad
<META HTTP-EQUIV="REFRESH" CONTENT="1";URL="/captiveportal-portal.php">
Good
<META HTTP-EQUIV="REFRESH" CONTENT="1;URL=/captiveportal-lclogin.php">
Hope this saves other people torment anguish and wasted time Googling.
I found the problem

What was it ?

Do we have to supose that somethings is wrong with your posts ?