Can't activate SEO addon

Please help, I can’t activate seo addon,

its just new install of CS-Cart (installed in root directory)



i get this message-

SEO URLs can’t work for now - they were disabled. Please check your webserver and URL manipulation engine settings.



.htaccess - without changes



please help!!!

Check mod_rewrite on server

at httpd.conf (is uncommented)



LoadModule rewrite_module modules/mod_rewrite.so



i also have other site with joomla seo activated, and its work good

but i really cant understand what can be with cs-cart :frowning:

If you are sure mod_rewrite is working on the server and your rewritebase setting is correct but are still not able to activate the addon, try this.



Open

addons/seo/schemas/settings/actions.post.php



Comment out the following code that handles that activation check



```php if (strpos($result[0][‘RESPONSE’], ‘200 OK’) === false) {

$new_value = ‘D’;

fn_set_notification(‘W’, fn_get_lang_var(‘warning’), fn_get_lang_var(‘warning_seo_urls_disabled’));

} ```



Change to



```php /* if (strpos($result[0][‘RESPONSE’], ‘200 OK’) === false) {

$new_value = ‘D’;

fn_set_notification(‘W’, fn_get_lang_var(‘warning’), fn_get_lang_var(‘warning_seo_urls_disabled’));

} */ ```

You say .htaccess is unchanged?

the line down below “RewriteBase” has to be changed to your store path



ex… www.yourshop.com/store would be

RewriteBase /store



or www.yourshop.com would be:

RewriteBase /




Some hostings require RewriteBase to be uncommented

Example:

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

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

[quote name=‘S-Combs’]If you are sure mod_rewrite is working on the server and your rewritebase setting is correct but are still not able to activate the addon, try this.



Open

addons/seo/schemas/settings/actions.post.php



Comment out the following code that handles that activation check



```php if (strpos($result[0][‘RESPONSE’], ‘200 OK’) === false) {

$new_value = ‘D’;

fn_set_notification(‘W’, fn_get_lang_var(‘warning’), fn_get_lang_var(‘warning_seo_urls_disabled’));

} ```



Change to



```php /* if (strpos($result[0][‘RESPONSE’], ‘200 OK’) === false) {

$new_value = ‘D’;

fn_set_notification(‘W’, fn_get_lang_var(‘warning’), fn_get_lang_var(‘warning_seo_urls_disabled’));

} */ ```[/QUOTE]



Very Big Thanks!!! This solution helps me

Oh Great help for me too. Even I had the same issue and fixed now.

I've noticed this issue also tends to occur when you have the website behind basic access authentication for development / testing purposes.



EDIT: Oh whoa…sorry for the old topic bump.