How do you "go to" a page base on a conditional?
-
Sorry, this might be wordy…..
Before converting to wordpress I used the php function “header” to move back and forth between pages. example: header(“Location: ” . $returnUrl . “?errorResponse=IncorrectPasssword”). This doesn’t seem to work with wordPress. My question is how do you go back to the login page if id or password is wrong? This is a simplified example. I use the header() function quite a bit as a response to conditionals and need to find some way to get it to work consistently or replace it. One curious thing is that if I turn on the output buffering it works on my hosting server, however it won’t work on my local machine.Any help would be appreciated.
George
- The topic ‘How do you "go to" a page base on a conditional?’ is closed to new replies.