Forum Moderators: phranque

Message Too Old, No Replies

search engine friendly

is include file search engine friendly

         

nerminteligence

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

10+ Year Member



hi guys

i built website in jsp. and everything is done in include file, including content. should i have content part as raw data or should i have content as include file.

is there a difference for search engine robots? i know from user point it does not matter but i care about robots and SE as well :)

Nermin

nerminteligence

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

10+ Year Member



to make it more clear here is the sample

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" >

same question goes for content? keep it as raw data or have it like

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

daveVk

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

WebmasterWorld Senior Member 10+ Year Member



What counts is what your server delivers, the <% stuff is not seen by anyone using your site. Visit your site and go "view" -> "source" this is what the search engines see. So either way should give same result, make each resulting "123" below is different and relevent to the page content.

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