Customising page header for advanced SEO

  • 6 October 2022
  • 4 replies
  • 338 views

Badge +1

If anyone is wondering why their pages rank poorly on FreshDesk, one of the potential solutions is to customise your portal (Admin → Team → Portals → Customise Portal →  Layout & Pages → Portal Layout → Head) and setup the correct tags for inclusion.

The FreshDesk “Head” defaults are poor / obsolete and will cause your pages to rank and spider poorly. If you edit the Head you will see the following default:

<title>{{ meta.title }}</title>
{{ meta | default_meta }}

Your mileage may vary but I found you can replace the above with the following, using dynamic placeholders, to provide better page SEO. Remember to keep your page title to between 30 and 60 characters, and your page description between 50 and 160 characters. I hope this helps someone else out there struggling with FreshDesk’s poor SEO capabilities.

<!-- Replace "Your Site" with your actual site name -->
<!-- Replace "Your Company" with your actual company name -->

<title>{{ meta.title }}</title>
<meta name="description" content="{{ meta.description }}">

<meta charset="utf-8">
<meta name="author" content="Your Company Name">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta property="og:title" content="{{ meta.title }}">
<meta property="og:description" content="{{ meta.description }}">
<meta property="og:url" content="{{ meta.canonical }}">
<meta property="og:site_name" content="Your Site Name">
<meta property="og:type" content="article">
<meta property="og:image" content="{{ meta.image_url }}">
<meta property="og:image:alt" content="Your Company Logo">

<meta name="twitter:title" content="{{ meta.title }}">
<meta name="twitter:description" content="{{ meta.description }}">
<meta name="twitter:url" content="{{ meta.canonical }}">
<meta name="twitter:site" content="@your_twitter_handle">
<meta name="twitter:image" content="{{ meta.image_url }}">
<meta name="twitter:image:alt" content="Your Company Logo">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="{{ meta.canonical }}">

 


4 replies

Userlevel 7
Badge +7

Thank you for your suggestion @james.bourne - it will surely help our members as well. 

Thank you for sharing it. As I haven’t heard about it. And was trying to rank my page. As these are the advanced seo thing and now I am newbie. Will love if you share such post so that we could learn the advance seo techniques properly.

Badge +2

I used this code and it works great, so thank you very much! I entered meta descriptions for all of our solutions articles, and they all show up when I inspect the code for their webpages. But since there is no place to enter a meta description for the portal homepage, no meta description shows up for that when I inspect the code for that page. Since you edit the meta code in the head for the entire portal, I’m not sure what to do about this. I’m wondering what you did to make sure there was a title tag and meta description for the pages of your site that aren’t solutions articles. 

Badge +2

1. Use no more than 155 characters.
2.Use a functioning voice and make it noteworthy.
3. Add a request for action.
4. Make use of your focus phrase.
5. Provide specifications as necessary.
6.Make sure it matches the substance of the page.
7.Make it remarkable

Reply