|

Can't activate SEO addon
Posted 07 July 2010 - 10:23 PM #1
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!!!
Posted 07 July 2010 - 10:33 PM #3
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

Posted 08 July 2010 - 09:54 AM #4
Open
addons/seo/schemas/settings/actions.post.php
Comment out the following code that handles that activation check
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
/* 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'));
} */
[CS-Cart Optimized Solutions and Server Management]
Posted 08 July 2010 - 02:04 PM #5
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 http://www.yourcompany.com/store/cart
# So "RewriteBase" should be:
# RewriteBase /store/cart
RewriteBase /
Posted 08 July 2010 - 04:24 PM #6
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 checkif (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/* 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'));
} */
Very Big Thanks!!! This solution helps me
Posted 25 August 2011 - 11:28 AM #7
Posted 26 April 2013 - 02:41 PM #8
EDIT: Oh whoa....sorry for the old topic bump.
Edited by wartornskull, 26 April 2013 - 02:42 PM.