SEO Addon - Error occurred

When i active SEO Addons, I have an error :

SEO URLs can't work for now - they were disabled.<br />
Please check your webserver and URL manipulation engine settings
```<br />
<br />
I enabled mod_rewrite on Apache.view phpinfo()at this address : [url="http://vn20.vn/info.php"]http://vn20.vn/info.php[/url]<br />
<br />
Please help me.

Enter the following in your .htaccess:





DirectoryIndex index.html index.php





RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



Hi there



Mostly this happens when the whole htaccess file is missing.



But when you are sure that is present then it's a server configuration issue.



Fotis

I have tried every .htaccess combination I can think of, nothing works on one of my sites. Very strange as it's hosted on a dedicated server with another 2 CS-Cart sites which do not have this problem. No amount of uninstalling, flushing cache, re-installing, etc, helps. I get the same error message every time despite the phpinfo for that hosting environment having the same credentials as the other 2 'working' sites.



Would be awesome if someone could find a solution to this problem.

Step #1

If you have shell access (SSH); run these commands from the site root.

(cPanel: /home//)



[font=courier new,courier,monospace]rm -Rf /public_html/var/cache/* -v[/font]

[font=courier new,courier,monospace]rm -Rf /public_html/var/compiled/* -v[/font]



Step #2

Delete the .htaccess file and reupload the default CS-Cart .htaccess file.



Regards,

J.