simplybe Posted March 23, 2009 Share Posted March 23, 2009 Remember to backup your files before making changes !!!!!!!!!!!!! If you want to add your own pre-defined meta tags to the whmcs pages read below: 1 edit your header.tpl and replace the current meta tags with: <META content="{$LANG.$filename}" name=DESCRIPTION> <META content="{$LANG.$pagetitle}" name=keywords> 2. Now we need to create the meta tags in the language file but first we need to know the pagetitle & filename of each page. Here are most of them: ----------------------------------------------------- #filename = index #page title = Support #filename = announcements #page title = Announcements #filename = downloads #page title = Downloads #filename = knowledgebase #page title = Knowledgebase #filename = supporttickets #page title = Support Tickets #filename = submitticket #page title = Submit Ticket #filename = domainchecker #page title = Domain Checker #filename = networkissues #page title = Network Issues #filename = cart #page title = Shopping Cart #filename = contact #page title = Pre-Sales Contact Us #filename = clientarea #page title = Client Area filname = meta description pagetitle = meta keywords ---------------------------------------------------------- Now we need to edit the language file (in my case english) We will start by adding a language for the index page. Add this to the top of your language file: $_LANG["index"] = " Add your Meta description here"; $_LANG["Support"] = "Add your Meta keywords here"; Now repeat for each page. If you want to change the meta tags at any point just edit the language file. 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.