Jump to content

dynamically generated data crawlable by google?


johnmerlino

Recommended Posts

Hey all,

 

Let's say if all of the data in the site is the result of queries from the database that are output as html by php as users interact with the site. For example, there's no home.php file. Rather user clicks the link to view the page, and a php script pulls data from database and renders the page at that time. There is no javascript involved in this process. Would this page be crawlable by google?

 

Thanks for response.

Link to comment
Share on other sites

So if there is no home.php file, but rather when a user clicks home.php link on the browser, a method gets called in let's say a categories class which populates a generic file called show.php with data, how does the crawler know to what the content is before the method even gets called?

 

Thanks for response.

Link to comment
Share on other sites

As long as you make sure the server is responding with a 200 OK status, Google will cache your content just like a normal browser would display it. PHP is a preprocessor, so all a browser/bot will see is the HTML generated by it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.