blanco360
Member
Posted 4 years ago #
I've been racking my brains trying to work out how to get a nice custom 404 page to display on my site.
The theme has the 404.php file in it, but won't play ball - if you go to an invalid page, you get a real 404 error back.
Do I need to actually set the 404 file in IIS to the wordpress one, or should wp be doing it automatically. (And if I do need to manually set it, what is the page it should be pointing to?)
Many thanks!
Ben
dalebert77
Member
Posted 4 years ago #
(Moderator or other WP guru's feel free to correct me if I'm wrong here) WordPress handles the 404 redirection using .htaccess files which IIS does not use. I would think you need to modify IIS settings to get the 404 page from the theme to work.
You might try this:
http://www.keyboardface.com/archives/2007/09/07/update-for-wordpress-permalinks-on-iis/