smartshovon Posted March 31, 2013 Share Posted March 31, 2013 my whmcs title code show beleow. i want to modified it. <title>{if $kbarticle.title}{$kbarticle.title} - {/if}{$pagetitle} - {$companyname}</title> i want when i go my site homepage/index page then show this code like that <title>{$companyname} - {$pagetitle}</title> but when i go other page like shared hosting,reseller hosting etc then code show that <title>{$pagetitle} - {$companyname}</title> how i can do it. it possible? 0 Quote Link to comment Share on other sites More sharing options...
Alistair Posted April 24, 2013 Share Posted April 24, 2013 Yes, it's possible. If you follow the guide on SEO, you can use IF statements to specify your own <head> information for each page: http://docs.whmcs.com/Seo 0 Quote Link to comment Share on other sites More sharing options...
WebsiteIntegrations Posted April 27, 2013 Share Posted April 27, 2013 So you want one title on the home and a different one for the other pages? Use this: {if $pagetitle eq $LANG.globalsystemname} <title>{$companyname} - {$pagetitle}</title> {else} <title>{$pagetitle} - {$companyname}</title> {/if} 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.