Office Hours
Day Hours (GMT)
Bank Holidays Closed
Monday 9:00 - 17:30
Tuesday 9:00 - 17:30
Wednesday 9:00 - 17:30
Thursday 9:00 - 17:30
Friday 9:00 - 17:30
Saturday Closed
Sunday Closed
Knowledgebase: Installation Help
I get a "404 page not found" error when I try to view my store pages?!
Posted by Al Brookbanks on 06 November 2014 11:42 AM

If SEO URL's are enabled CubeCart will write search engine optimised URL's. If you get blank pages or 404 page not found errors please check the following.

  1. Your web server must be powered by Apache with mod_rewrite support.
  2. If there is no .htaccess file please create one in the root directory of your store with the content;  

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !=/favicon.ico
    RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]
    </IfModule>

  3. If there already is a .htaccess file please make sure it contains the code above.
  4. If you have a .htaccess file which does have the code content above it may be necessary to specify the root relative path to your store. This can be done by adding the following line just below "RewriteEngine On".

    Example for http://www.example.com/store

    RewriteBase /store/

    Example for http://www.example.com

    RewriteBase /

If you still encounter problems please contact technical support or seek help on our forums.