![]() |
Re: How to Separate Home Page SEO from CAT & Product pages?
It took me all afternoon to figure this out, but after reviewing my smarty ebook it became obvious. This is what worked for 4.1.8:
Your Meta Description and Meta Keywords for categories and sub-categories should be filled in. In admin, go to General Settings >> SEO Option. Uncheck:
HTML Code:
{if $current_category.meta_descr ne "" and $config.SEO.include_meta_categories eq "Y"} Change: HTML Code:
{if $current_category.meta_descr ne "" and $config.SEO.include_meta_categories eq "Y"} For HTML Code:
{if $current_category.meta_descr ne "" and $config.SEO.include_meta_categories eq "N"} Add HTML Code:
{else} After HTML Code:
{assign var="_meta_keywords" value="$_meta_keywords`$current_category.meta_keywords` "} Remove HTML Code:
{/if} Right after the recently placed HTML Code:
{else} Finally, add HTML Code:
{/if} HTML Code:
{assign var="_meta_keywords" value="$_meta_keywords`$config.SEO.meta_keywords`"} The new code should look like this: HTML Code:
{if $current_category.meta_descr ne "" and $config.SEO.include_meta_categories eq "N"} Hope this works for you folks |
Re: How to Separate Home Page SEO from CAT & Product pages?
Sorry, didn't see this post until now :(
|
Re: How to Separate Home Page SEO from CAT & Product pages?
Too late my friend :) lol. Thanks for pointing out the meta.tpl
|
All times are GMT -8. The time now is 06:01 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.