I have a 404 template in my Wordpress theme - I want to redirect all 404's to front page. <?php get_header(); ?> <div id="content" class="narrowcolumn"> <h2 class="center">Error 404 - Not Found</h2> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> Code (markup): Can I put a javascript redirect in here instead of the text?? Is there a better way?? Edit: Reason is I need to add an ID to the url and do not want to have to 301 already indexed posts