Page 1 of 1
Meta tags
Posted: Thu Jun 09, 2011 11:53 am
by fanta
Hello,
what is the best way to add meta keywords and description to hesk?
I duplicated the title php code to new meta tags i added to header.inc.php, but now title, description and keywords are all the same. is there a better way to do this?
Thanks.
Re: Meta tags
Posted: Thu Jun 09, 2011 4:53 pm
by Klemen
You would have to create a variable for the header file and declare that variable in each and every function that prints out HTML code - I'm afraid not something I can help with.
For what it's worth - modern search engines don't use meta tags for rankings.
Re: Meta tags
Posted: Thu Jun 09, 2011 8:23 pm
by fanta
Klemen wrote:You would have to create a variable for the header file and declare that variable in each and every function that prints out HTML code - I'm afraid not something I can help with.
For what it's worth - modern search engines don't use meta tags for rankings.
Thanks Klemen for your reply, I think there should be an easier way with already declared variables, but im not sure about how to achieve that.
Re: Meta tags
Posted: Tue Jun 23, 2020 1:07 pm
by timtrott
If meta tags are "not used by search engines" is there a way to block Google from indexing items in my Hesk that are not intended to be public (eg, knowledgebase)? I have added Disallow=/ to the robots.txt.
Re: Meta tags
Posted: Tue Jun 23, 2020 4:41 pm
by Klemen
Sure, Google (and all other legit search engines) obey the robots.txt file.
Re: Meta tags
Posted: Sat Jun 27, 2020 3:50 pm
by timtrott
I added Disallow: / - Is that correct? No more "noindex, nofollow"?
User-agent: *
Disallow: /admin/
Disallow: /attachments/
Disallow: /inc/
Disallow: /language/
Disallow: /change_status.php
Disallow: /download_attachment.php
Disallow: /print.php
Disallow: /rate.php
Disallow: /submit_ticket.php
Disallow: /suggest_articles.php
Disallow: /suggest_email.php
Disallow: /ticket.php
Disallow: /
Re: Meta tags
Posted: Sat Jun 27, 2020 4:05 pm
by Klemen