TinyPortal

Development => Support => Topic started by: Mick on September 02, 2009, 09:51:44 PM

Title: HTML articles and meta tags ??
Post by: Mick on September 02, 2009, 09:51:44 PM
Is it ok to add meta tags ie. keywords,description in the html code in the article page system when creating a page?

...or is it a waste of time since SMF already provides meta tags for you to edit?

:uglystupid2:
Title: Re: HTML articles and meta tags ??
Post by: IchBin on September 02, 2009, 10:07:44 PM
You shouldn't declare any more meta tags. To be XHTML valid, you can only have the meta tags in the head of your document. If you are creating an article I would suggest you don't even use anything outside of the <body> tags if you can help it.
Title: Re: HTML articles and meta tags ??
Post by: Mick on September 02, 2009, 11:01:30 PM
Thanx for your reply.  It seems that Google doesnt index some of my article pages.
Title: Re: HTML articles and meta tags ??
Post by: Lesmond on September 03, 2009, 01:05:14 AM
if I am correct in thinking each theme in the index.template.php and has its own meta tags, so if your article has is own theme you could edit  that said theme to reflect that article page

<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />