Hi,
Just putting the finishing touches to my couch site and have run into a quandary with the custom 404 page.
If I access the cloned page that doesn't exist the 404 page displays fine, however if access a page that doesn't physically exist it redirects to the hosts 404 page.
I believe I have followed the directions correctly and my .htaccess file looks like:
#If you wish to use a custom 404 page, place a file named 404.php in your website's root and uncomment the line below.
#If your website is installed in a subfolder, change the line below to reflect the path to the subfolder.
#e.g. for http://www.example.com/subdomain1/subdomain2/ make it ErrorDocument 404 /subdomain1/subdomain2/404.php
ErrorDocument 404 /404.php
Any help would be hugely appreciated.
Thanks!
Just putting the finishing touches to my couch site and have run into a quandary with the custom 404 page.
If I access the cloned page that doesn't exist the 404 page displays fine, however if access a page that doesn't physically exist it redirects to the hosts 404 page.
I believe I have followed the directions correctly and my .htaccess file looks like:
#If you wish to use a custom 404 page, place a file named 404.php in your website's root and uncomment the line below.
#If your website is installed in a subfolder, change the line below to reflect the path to the subfolder.
#e.g. for http://www.example.com/subdomain1/subdomain2/ make it ErrorDocument 404 /subdomain1/subdomain2/404.php
ErrorDocument 404 /404.php
Any help would be hugely appreciated.
Thanks!
