Sonu2007 Posted May 8, 2020 Share Posted May 8, 2020 It is possible to show knowledgebase Title without "knowledgebase" word. I looked in header.tpl but there is only {if} statement for KB title. Ex: Currently it is showing "ArticleTitle - Knowledgebase - Company name" i want to show something like "ArticleTitle - Company name" Also in URL it is something like https://www.xxx.com/knowledgebase/109/ArticleTitle.html it is possible to remove "109" and ".html" from url? Please some one guide me on this 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 8, 2020 Share Posted May 8, 2020 4 hours ago, Prahost said: It is possible to show knowledgebase Title without "knowledgebase" word. I looked in header.tpl but there is only {if} statement for KB title. I suspect the quickest way would be to edit header.tpl along the lines of... <title>{if $kbarticle.title}{$kbarticle.title} - {else}{$pagetitle} - {/if}{$companyname}</title> the alternative would be a hook that modified the title via JS.... but because of those hyphens in the html file, I doubt you could do it just by manipulating PHP arrays and variables. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted May 8, 2020 Share Posted May 8, 2020 9 hours ago, Prahost said: it is possible to remove "109" and ".html" from url? Please some one guide me on this Maybe you can remove ".html" but I don't think you can do anything for "109" since this parameter is used to select the article by ID from tblknowledgebase. Anyway if you want to make this change with SEO in mind, just stop. It's a complete waste of time since URLs can be invented on the fly... https://www.xxx.com/knowledgebase/109/ArticleTitle.html https://www.xxx.com/knowledgebase/109/i-like-pizza.html https://www.xxx.com/knowledgebase/109/i-LIKE-pizza.html https://www.xxx.com/knowledgebase/109/*-website.html https://www.xxx.com/knowledgebase/109/worst-hosting-ever.html The article always opens meaning duplicate content happens everywhere. 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.