Advertisement:

Author Topic: Meta Tags  (Read 1675 times)

Offline robinwickens

  • Newbie
  • *
  • Posts: 3
Meta Tags
« on: January 09, 2009, 04:18:31 PM »
I searched forums but could find no reference.
Where do I add/modify meta tags for main page?
Are there any plug-ins for integrating with Wordpress?
Why is the sky blue and the sea green and my eyes bloodshot?
Any help appreciated!

Robin.

Offline H

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,662
  • Gender: Male
Re: Meta Tags
« Reply #1 on: January 09, 2009, 04:31:03 PM »
Welcome to SMF

Quote
Where do I add/modify meta tags for main page?

Look at the header in Themes / default / index.template.php :). If you'd rather not edit code, there is a meta tag mod you can install

Quote
Are there any plug-ins for integrating with Wordpress?

We don't currently have any official wordpress integration however if you search this site, you should find an unofficial integration

Quote
Why is the sky blue and the sea green and my eyes bloodshot?
Any help appreciated!

Afraid I'm not sure on this :P
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Offline robinwickens

  • Newbie
  • *
  • Posts: 3
Re: Meta Tags
« Reply #2 on: January 09, 2009, 05:27:51 PM »
Tried that!
Say's:
Try to handle it with the upper level index.php. (it should know what to do.)
Went there!
No obvious reference to <head> </head>
Where now?

Robin.

Offline H

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,662
  • Gender: Male
Re: Meta Tags
« Reply #3 on: January 10, 2009, 01:27:29 PM »
index.template.php is a totally different file to index.php! ;)

Open it and you'll be able to find:

Code: [Select]
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '
<meta name="robots" content="noindex" />', '
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)