Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,529
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
On my sites, I simply have a 404 file in my themes which is actually a redirect to where ever I’d like it to go:
<?php
// Permanent redirection
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://yourdomain.com”);
exit();
?>
Simply copy and paste the above into your 404.php file for your theme, and you’re set!
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS