• The title says it all…
    I need a meta refresh redirect which will only activate on a single page. The code i need to put in is:

    <?php
     global $post;
     $myposts = get_posts('numberposts=1&offset=0&category=1');
     foreach($myposts as $post) :
     setup_postdata($post);
     ?>
    	<meta http-equiv="refresh" content="0;url=<?php the_permalink() ?>">
    <?php endforeach; ?>

    Is this at all possible?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Meta Redirect for 1 page.’ is closed to new replies.