I’m able to change the SEO name for the pages and the categories to show like this: cs-cart.com/page1 but I can’t do it for the forms!
only cs-cart.com/forum1.html works, it needs to have an “html” added for some reason.
I tried everything, cleared the cache, tried on different computers, etc…
Is this a known bug?
[quote name='gugga7' timestamp='1303830806' post='110986']
I'm able to change the SEO name for the pages and the categories to show like this: cs-cart.com/page1 but I can't do it for the forms!
only cs-cart.com/forum1.html works, it needs to have an “html” added for some reason.
I tried everything, cleared the cache, tried on different computers, etc…
Is this a known bug?
[/quote]
It kinda is, but kinda isn't at the same time.
You'll need to modify your addons/SEO/func.php file.
Look for this line: (Approximately Line 507 in 2.2.X releases.)
if ((in_array($seo['type'], array('p', 'a')) && empty($objects['extension'])) || ($seo['type'] == 'c' && Registry::get('addons.seo.seo_category_type') != 'file' && !empty($objects['extension']))) {
$result = false;
}
Change it to this:
if ((in_array($seo['type'], array(/'p',/ /'a'/)) && empty($objects['extension'])) || ($seo['type'] == 'c' && Registry::get('addons.seo.seo_category_type') == 'category' && !empty($objects['extension']))) {
$result = false;
}
What this does it NOT apply the SEO name to pages, products, etc.
At the Top of the func.php it lists out what the types are:
p - product, c - category, a - page, n - news, m - company
That should do it for you.