How to redirect in wordpress
-
Hi,
how do I redirect in wordpress? My code is
wp_redirect(get_permalink($page),301);
but it doesn’t work. It shows error message:
Fatal error: Call to undefined function wp_redirect()
- The topic ‘How to redirect in wordpress’ is closed to new replies.