There is nothing wrong with wp_redirect
part of your code…
But… is_page
function can’t be used with URL address… You should pass “Page ID, title, slug, or array of such” as stated in documentation.
There is nothing wrong with wp_redirect
part of your code…
But… is_page
function can’t be used with URL address… You should pass “Page ID, title, slug, or array of such” as stated in documentation.