Forum Moderators: mack

Message Too Old, No Replies

include file as title, meta keyawords and description

is this OK?

         

nerminteligence

12:08 am on Feb 17, 2007 (gmt 0)

10+ Year Member



some websites go to a point of include keywords title and description as their file instead placing it on each page as data.

is this OK? how robots look at this?

LifeinAsia

12:29 am on Feb 17, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Not exactly sure what you are asking... Do you mean that some sites dynamically insert the titles and descriptions just like they dynamically generate the content? Robots should see the same page users see (unless the site does dome sort of cloaking for robots).

nerminteligence

12:45 am on Feb 17, 2007 (gmt 0)

10+ Year Member



hi LifeinAsia

i was working on a page that has following

<%-- Title --%>
<%= com.csi.cms.CMSContent.getContent(pageContext, 1, "title_home") %>
<%-- End Title --%>

<%-- Meta Tags --%>
<%= com.csi.cms.CMSContent.getContent(pageContext, 1, "metatags_home") %>
<%-- End Meta Tags --%>

is it better to go this way or make each page like you would in html.

<title>123</title>
<meta name="description" content="123" >
<meta name="keywords" content="123" >

LifeinAsia

12:49 am on Feb 17, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I'd go with the first, as long as you're going to get a unique title for each page. If you hard code the pages, you're either going to end up with identical titles for each page or you have to make a different file for each page, essentially nullifying most of the advantages of having a dynamic site.