Metatags shown on top of page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Metatags shown on top of page

Post by osn »

Hello everyone!
I have a problem with my metatags on my website.
If I add metatags to a page there will be a line added above the whole webpage with the text added in the metatag window.

Anyone who know what can be causing this? How do I solve it?


Example:      http://dartfrog.tk/cms/index.php?page=histrionicus



I'm using CMSMS 1.0.2 Maui
Last edited by osn on Tue Feb 13, 2007 10:00 am, edited 1 time in total.
Dennis Nilsson, Sweden
www.dartfrog.tk
tkeil69575

Re: Metatags shown on top of page

Post by tkeil69575 »

make sure you enter them like this



regards
tina
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Metatags shown on top of page

Post by osn »

Thank you Tina, it solved my problem. But is it really "/>" at the end???  isn't just ">" ???
Anyway, I will figure it out! Thank you!


Dennis
Dennis Nilsson, Sweden
www.dartfrog.tk
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Metatags shown on top of page

Post by Dee »

osn wrote: is it really "/>" at the end???  isn't just ">" ???
It is, in XHTML empty elements must either have an end tag or the start tag must end with />.

Regards,
D
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Metatags shown on top of page

Post by osn »

So if I look at it in real examples it should look like this?





When I look at other pages it's very common to look like this:



Is that really not working to write it like that or is it just not w3 validated to write it without the / since most big companys pages seems to be without?




Dennis
Dennis Nilsson, Sweden
www.dartfrog.tk
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Metatags shown on top of page

Post by Dee »

It will work without the /.
That's valid in HTML 4.01 but not in XHTML (the link I sent above is in chapter 4: Differences with HTML 4).
The same with - it's valid HTML4 but in XHTML it should be


Regards,
D
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Metatags shown on top of page

Post by osn »

Ok, thak you for the help and the explaination Dee!

Dennis
Dennis Nilsson, Sweden
www.dartfrog.tk
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Metatags shown on top of page

Post by osn »

???
A new question that I guess can't be read in w3c because I can't find anything about it. I want to know which works best of the following:



or



Which one works best (or is recomended) when it is for the search engines to find the pages?
I have seen both versions when I looked around at pages on the web and my guess is that it might work better without all commas, but it's just a guess. Anyone?



Dennis
Last edited by osn on Fri Feb 16, 2007 1:02 pm, edited 1 time in total.
Dennis Nilsson, Sweden
www.dartfrog.tk
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Metatags shown on top of page

Post by tsw »



1) keywords is all lovercase
2) space before />
3) if word is a part of something else keep them in same if they are not connected seperate with ,

but I wouldnt worry too much about keywords, google doesnt really pay any attention to them anymore bacause they are too easily expoitable...

hope this helps
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Metatags shown on top of page

Post by osn »

Thank you TSW - It helps!
Its a way for me to add words about the content that mabie isn't there in clear text since much of my pages is photo albums and the text is on other pages... so it's a way to catch search results to the photos.  examples:  http://dartfrog.tk/cms/index.php?page=histrionicus
Dennis Nilsson, Sweden
www.dartfrog.tk
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Metatags shown on top of page

Post by tsw »

I'll bet you'll get better results with alt and title attributes for those images (which you already have)

Best of luck on your site, I really like those images!
Post Reply

Return to “CMSMS Core”