Installed But Getting 404 Everywhere


I have a fresh new server (hosted with InMotionHosting) and I'm trying to install CS.Cart Multi-Vendor. I finally got everything to run smooth on the install process, but now that it's done and set up, I keep getting 404 errors on just about everything but the homepage (the only pages that work are the root level stuff like index.php, admin.php, vendor.php, etc… there are no folders further and no more pages created). [/size][size=4]

From my searching everything keeps pointing to problems with the htaccess file. I checked mine (InMotion has one on the FTP root, and one at in the /www/ folder as well. [/size][size=4]

My CS.Cart install is in the /www/ folder (what i'm assuming is the site root, and I want it so that people visiting my domain will immediately hit the storefront, so I think that's the right place). So does that mean the .htaccess file I need to update is the one in that /www/ folder?[/size][size=4]

And what do I need in the .htaccess file? Since mine is empty with the exception of a few commented lines:[/size]

[color=#808080]# To set your custom php.ini, add the following line to this file:[/color][color=#000000]

[/color][color=#808080]# suphp_configpath /home/yourusername/path/to/php.ini[/color][color=#000000]

[/color][color=#808080]# php_value mbstring.func_overload 4 # Required for PWSB support. Please do not uncomment this line.[/color][size=4]

Any help getting this working would be hugely appreciated![/size]

Have you checked the .htaccess file in your downloaded zip file? Should not be empty


If you installed the Cart to a folder than that .htaccess should be in that folder.

In the root I have one also I do in the folder where installed. Both different content

Here is the default content of the .htaccess file of 4.3.3 version:

DirectoryIndex index.html index.php

	# Compress HTML, CSS, JavaScript, Text, XML, fonts
	AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript application/json
	AddOutputFilterByType DEFLATE application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf font/opentype font/otf font/ttf application/x-woff application/x-font-woff
	AddOutputFilterByType DEFLATE text/css text/html text/plain

	# Remove browser bugs (only needed for really old browsers)
	BrowserMatch ^Mozilla/4 gzip-only-text/html
	BrowserMatch ^Mozilla/4\.0[678] no-gzip
	BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
	Header append Vary User-Agent

Header set Access-Control-Allow-Origin "*"

Cache all images for 2 weeks

ExpiresActive on ExpiresDefault "access plus 2 weeks" Header set Cache-Control "max-age=1209600" RewriteEngine on # Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon. # Some hostings require RewriteBase to be uncommented # Example: # Your store url is # So "RewriteBase" should be: # RewriteBase /store/cart # RewriteBase / Options -MultiViews

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_URI} ^api/(.)$ [or]
RewriteCond %{REQUEST_URI} .
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .api/(.)$ api.php?_d=$1 [L,QSA]

RewriteCond %{REQUEST_URI} .(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|yml|xml)$ [or]
RewriteCond %{REQUEST_URI} store_closed.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.?)/(.)$ $2 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]

This prevents possible problems when downloading files

php_flag zlib.output_compression Off