Jump to content


Data-Driven webpages and search engines


3 replies to this topic

#1 JEES

    Newbie

  • Members
  • Pip
  • 0 posts

Posted 28 April 2010 - 02:47 PM

Hello Everybody..

As the title says, I'm just wondering whether search engines will be able to read some contents those are fetched from a database and by scripts which are already in the page ( I mean not gonna by fetched by an event or Ajax ).

If the answer is "no.. search engines can't read this contents" then how come CMS and Forums (eg: Joomla, wordpress, vbulletin and IPB) are search engines friendly!

Any help is appreciated and Thanks In Advance..


#2 Shoel

    Administrator

  • Administrators
  • 125 posts

Posted 28 April 2010 - 03:35 PM

Hi JEES, and welcome to PHPTalk. :)

A forum such as this basically works by retrieving stored text from a database, then presenting it to the user's browser wrapped in HTML to structure the information. Any HTML that is generated server side and available to an unauthenticated user (a 'guest' visiting your site without logging in) will be visible to the search engine crawlers/spiders (unless you have explicitly denied the page/directory via robots.txt). It does not matter what actually generated that HTML, or where the content was retrieved from, as long as it is server-side.

If your public content is generated and output by for an example a PHP script as HTML/CSS/text - search engines will in other words be able to access it.

If you load content via JS, it might not be indexed because this depends on a client side technology that is generally not supported by these bots. There are however various ways to get around this. Generally I would advice not relying on JS or other client side technologies (e.g. flash) to present content - but rather load the content as plain markup, then enhance it through use of CSS and JS. For an example use JS to 'hook' into page elements on page load to support additional UI-features/fancy effects - meaning the base content will still be available and functional even if the user does not have JS support.

I hope that answers your question. Feel free to ask if there's anything you are unsure about, and I will try to explain it better. :)
Hi there! If you found this post useful, or used this information to help others, we would greatly appreciate a link back to our forum from your website/blog. Thanks! =)

#3 JEES

    Newbie

  • Members
  • Pip
  • 0 posts

Posted 28 April 2010 - 03:45 PM

Thanks a lot for this quick response Shoel :) , and yes the answer was accurate and very helpful, thanks again

#4 Shoel

    Administrator

  • Administrators
  • 125 posts

Posted 28 April 2010 - 03:50 PM

You are very welcome. :)
Hi there! If you found this post useful, or used this information to help others, we would greatly appreciate a link back to our forum from your website/blog. Thanks! =)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users