WordPress Redirect to Child Page and Vice Versa

Place this Code at the very top of your header.php file. Note: Php redirection will not work if you have already created any HTML code. This PHP code needs to appear before any html code!

Redirect to Child Page

Redirect to Parent Page

Thank you for reading

Join in the discussion bellow by tweeting about this post.

shae

8 Aug 2011

I get a code formatting error for Redirect to Child Page.

Ethan

8 Aug 2011

Helpful. Thanks!

Thanks again

Join in the discussion by tweeting about this post.