Meta tags

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
fanta
Posts: 16
Joined: Wed Dec 16, 2009 11:00 am

Meta tags

Post 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.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Meta tags

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
fanta
Posts: 16
Joined: Wed Dec 16, 2009 11:00 am

Re: Meta tags

Post 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.
timtrott
Posts: 17
Joined: Thu Dec 06, 2018 8:14 pm

Re: Meta tags

Post 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.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Meta tags

Post by Klemen »

Sure, Google (and all other legit search engines) obey the robots.txt file.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
timtrott
Posts: 17
Joined: Thu Dec 06, 2018 8:14 pm

Re: Meta tags

Post 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: /
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Meta tags

Post by Klemen »

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply