I am using GoDaddy as a host. Apparantely I have to set the error page at the ISP level. There is a option that I can set to use a custom ERROR page. Now whenever a file does not exist it uses the custom ERROR page specified. Except for in my blog directory. The blog directory contains the wordpress install. Apparantley something in my .htaccess file is causing a problem. If I remove the .htaccess file it finds my custom ERROR page. I am not sure what in this file would cause the problem, but the following is the content of my .htaccess file. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> # END WordPress
Is anyone able to get a custom 404 page working with Godaddy using .htaccess file? If so what is your magic? If not which web host will allow this - preferabbly one with good WordPress support.
Hello there. I think your problem is that the .htaccess file in the blog directory takes precedence over all other settings. I can find no conflict between the code from this .htaccess and a custom page error code. I believe that you can solve your problems by adding another row to your .htaccess file, a row that creates a new rule for error pages: ErrorDocument 404 your_error404.html General syntax for this type of rule is : ErrorDocument (3 digit error code) (path to error page) Hope it helps. Let me know. Regards, Adrian
I have tried that, no luck. Godaddy has you assign an error page in their control panel. I believe causes a that conflict with the .htaccess file. Godady has been no help solving the problem. The only thing that I can figure to do is switch hosts.