Claudia M Posted July 2, 2015 Share Posted July 2, 2015 Hi,I have set up a custom 404 error page in my documents and the same in cPanel. However, when I go to that page all it says is something like page not found. I have done nothing to regarding my .htaccess file since upgrading to cc6.0.6. How can I get my custom error page to show?Thanks in advance,ClaudiaSorry, Don't know if you need this but here is my .htaccess file:RewriteOptions inherit## File Security<FilesMatch "\.(htaccess)$"> Order Allow,Deny Deny from all</FilesMatch>#### Apache directory listing rules ####DirectoryIndex index.php index.htm index.htmlIndexIgnore *RewriteEngine OnRewriteCond %{HTTPS} offRewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]#### Rewrite rules for SEO functionality ####<IfModule mod_rewrite.c> RewriteEngine On ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L] ######## END v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]</IfModule>ErrorDocument 403 /403.shtmlErrorDocument 404 /404.shtmlErrorDocument 500 /500.shtml Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 2, 2015 Share Posted July 2, 2015 6.0.6 actually has a content.404.php file in templates. I modifed that file to suit. I have this in my .htaccess file:ErrorDocument 404 /index.php?_a=404 Quote Link to comment Share on other sites More sharing options...
Claudia M Posted July 2, 2015 Author Share Posted July 2, 2015 Thank you so much! Worked great! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.