How can I customize the:
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria, please try and search again.’); ?>
<?php endif; ?>
So that instead of bringing up that message, the user just gets redirected to the index page?
I’m using the greenmarinee theme if that helps.
- The topic ‘404 redirect to index.php’ is closed to new replies.