keneso Posted April 15, 2015 Share Posted April 15, 2015 Hi, I am trying this addon, and as I posted (no reply yet) there it seems to be working fine, save for the homepage. Now after some googling I am trying this, which seems to do what I want, and would like to know if I am doing it correctly, mainly as in good practice, because it seems to be working fine, I just don't want to mess up things I am not aware of. I have put this in the header.tpl <title>{if $kbarticle.title}{$kbarticle.title} - {/if} {if ($smarty.server.SCRIPT_NAME eq "/index.php")}Domain registrations & Web Hosting{/if} {$pagetitle} - {$companyname}</title> {if ($smarty.server.SCRIPT_NAME eq "/index.php")} <meta content="here the description" name="description"> <meta content="here the keywords" name="keywords"> {/if} Or there is a better, cleaner way to do it? Thank you 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted April 16, 2015 Share Posted April 16, 2015 Well yes it's ok but don't focus too much on meta keyword and description. Keyword meta tag is ignored by most of search engines (see here for example) because basically in past it has been used just to spam poison words like "sex, sexy, tits, crack, viagra" in every single website, even cooking ones, just to get a better and faked rank. I personaly don't use it because you gain no benefits but in the same time you put your website at risk of penalties in case you use a posion words. About meta description it's pretty well known that Google reserves the right to ignore what you put here and index your pages with an auto-generated meta description more in line with their prerequisites. 0 Quote Link to comment Share on other sites More sharing options...
keneso Posted April 16, 2015 Author Share Posted April 16, 2015 Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.