TinyPortal

Development => Support => Topic started by: Reality12 on July 17, 2007, 09:41:14 PM

Title: Does anyone know how to correct the...
Post by: Reality12 on July 17, 2007, 09:41:14 PM
metaname description/content tags?

i've tried to change this, i've done it on other sites that i've created, but i can't seem to correct it on SMF/TP.

is it an SMF or TP issue? if it's an SMF issue, how did you fix it? or have you?
Title: Re: Does anyone know how to correct the...
Post by: IchBin on July 17, 2007, 11:13:22 PM
Would be nice if you told us what you "think" is broken with the meta tags. I personally don't see anything wrong with them. They are theme dependant, so you would have to ask the theme author AFAIK.
Title: Re: Does anyone know how to correct the...
Post by: Reality12 on July 17, 2007, 11:22:05 PM
well, i'm referring to search engines...

when you look up my website url, the description comes back with this for example:

QuoteThirdEyeConcept.Com - Home Forum Search Gallery Calendar Login ...
News: Tropical Stonehenge Discovered. Welcome, Guest. Please login or register. 1 Hour, 1 Day, 1 Week, 1 Month, Forever. Login with username, password and ...

...instead of the actual description i'd like to use in the tags, and it happens with any theme, not just my current one.

Title: Re: Does anyone know how to correct the...
Post by: Reality12 on July 17, 2007, 11:31:39 PM
here's another example, this one, for tinyportal.co.uk:

QuoteWelcome!
News. SMF theme Club teasers on July 04, 2007, 10:20 by Bloc Ã,· FelBlog 0.86 utf8 on July 02, 2007, 16:30 by feline Ã,· Annonce FelBlog 0.85 on July 01, 2007, ...

Instead of the search engine saying "TinyPortal.Net" it says "Welcome!" and instead of a description of what tinyportal is, you get the same stuff i get on my site...not an actual description.

even the second link on the search for tp.net, doesn't justify what the website is about.

QuoteTinyPortal - Index
Welcome, Guest. Please login or register. July 15, 2007, 23:33. 1 Hour, 1 Day, 1 Week, 1 Month, Forever. Login with username, password and session length ...
Title: Re: Does anyone know how to correct the...
Post by: Crip on July 17, 2007, 11:44:40 PM
It's an old theme, I did update the index.temp where the meta tags are..
Title: Re: Does anyone know how to correct the...
Post by: Reality12 on July 17, 2007, 11:51:29 PM
what do you mean?

even your site crip, does not have a description listed.

click here (http://www.google.com/search?hl=en&q=http%3A%2F%2Fwww.cripcan.com&btnG=Google+Search) to see what i mean.

this is what i am trying to fix.



Title: Re: Does anyone know how to correct the...
Post by: IchBin on July 18, 2007, 12:17:54 AM
The meta description is set to pickup the title of the page you are viewing. If you want to change it, why don't you just change the meta tag for it? Also remember that google does not "only" use meta tags. It also crawls your page for what it "thinks" is pertinent information.
Title: Re: Does anyone know how to correct the...
Post by: Reality12 on July 18, 2007, 12:27:50 AM
I've tried that, but ok...

<meta name="description" content="', $context['page_title'], '" />',

I take it that that's what I'm suppose to change?

How do I change that to specifically "describe" what my website is about? Normally I would do something like this:

<meta name='Description' content='News, Modern Mysteries and Ancient Truths - ThirdEyeConcept.Com Online Community'>

Can you advise?
Title: Re: Does anyone know how to correct the...
Post by: Reality12 on July 18, 2007, 04:40:12 PM
does anyone know how to correct this?
Title: Re: Does anyone know how to correct the...
Post by: G6Cad on July 18, 2007, 04:48:45 PM
the meta tags are something you need to ask about over at SMF site as it's their coding in the index.template.php
Title: Re: Does anyone know how to correct the...
Post by: Reality12 on July 18, 2007, 04:51:57 PM
i'm really surprised it's not bothered anyone here, or that anyone has bothered looking into this issue as long as SMF and TP have been out.

Title: Re: Does anyone know how to correct the...
Post by: IchBin on July 19, 2007, 01:12:33 AM
It shouldn't be an issue if you setup your frontpage properly. You title your frontpage appropriately. And google then picks up the content of that page.

You need to use double quotes in your meta tag instead of single quotes.