Jump to content

Edit Knowledgebase Title


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated