I have deluxe hosting plan, and multiple domains using it.
I wish to create specific 404 pages for each domain, but I can only get the 404 working on the main domain.
Every other domain gets a 500 internal error despite having set up specific pages using the 'Error Pages' section in the cPanel.
Any tips?
Have you tried using an .htaccess in the root folder of each domain?
Something like
ErrorDocument 404 /404.html
Yeah I have!
Sorry, should have mentioned it in the original post
Can you post what's in the main domain's .htaccess and what you've tried for the addon domains?
@D3 wrote:Can you post what's in the main domain's .htaccess and what you've tried for the addon domains?
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Above is the main domain htaccess (default WordPress)
Below is the addon domain htaccess
ErrorDocument 404 /404.html
This is all right on. Have you tried removing the references to error pages in cPanel and just rely on the .htaccess? If that doesn't work, you've done everything right. Time for tech support.