Forum Moderators: open

Message Too Old, No Replies

<title> tags

The importance of title tags

         

FensterNI

11:43 pm on Mar 22, 2003 (gmt 0)

10+ Year Member



I was reading an article on the importance of the page title to the search engines -especially google. To date all my titles have been the same and I have worked today to change as many as I can.

the problem is I have content that uses the same page and is called using an include files.

I have set the include to set the title of the page to the title of the article, but......

I have noticed that for a split second the URL is displayed before the includes <title> code is loaded and the title is changed. I have not described this very well but it can be seen my refreshing.

Will google spider the url or will it actually get the proper title as I have set it?

am I being too fussy about all this?

David

ps thanks for the help - I am learning slowly :)

[edited by: Marcia at 2:35 am (utc) on Mar. 23, 2003]
[edit reason] Sorry, no individual site reviews please.. [/edit]

JudgeJeffries

12:10 am on Mar 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Looked at your link, cos I'm nosey.
Just one thing.
Which country is this mysterious school in?
Guess I know but a lot of others wont have a clue and there's not much (any!) mention of it on the site.
Suggest you edit and remove the link before the mods jump on it.

GrinninGordon

1:05 am on Mar 23, 2003 (gmt 0)



FensterNI

You have a problem as you have two <head> tags, the second one being in your document body (not good). You also do not close your html file with </html>. Your all important <title> tag is in the second <head> tag, it needs to be up the top!

As for your questions. I believe if your sub directory name / document name is the same as your title tag and the same as your <h1> heading tag, this will help for searches of those keywords ;-)

FensterNI

10:33 am on Mar 23, 2003 (gmt 0)

10+ Year Member



sorry about the URL,

anyway am I in real trouble having two </head> tags? it is the only way I can get my ASP system to set the title of the page to the title of the article.

David

Yidaki

11:26 am on Mar 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>anyway am I in real trouble having two </head> tags?

Yep, cos it's not the w3c standard to use two head tags. Especially a robot could get confused and either stop indexing the page or it's se could later return strange description and titles. Also bad programmed browsers (heard about some out there) could render your site wrong.

Why don't you just remove the head tags from your template files and let your asp scripts include it through ssi?

Concerning ssi and crawlers: allthough you may see the url instead of the title for a millisecond until the page loads completely, ssi is server side and crawlers will crawl the page completely - the sum of all code including the ssi content.

FensterNI

11:48 am on Mar 23, 2003 (gmt 0)

10+ Year Member



it is the SSI that is the problem - it has 3 conditions, one for listing the news, one for displaying the article and one for archive :(

David