Database Delivered Pages & SEO

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
Atropos3
Forum Newbie
Posts: 1
Joined: Tue Oct 25, 2011 9:05 am

Database Delivered Pages & SEO

Post by Atropos3 »

I am creating a small webpage for an artist who has almost 100 paintings. I would like to be able to do the following: Have the user click a thumbnail, and then based on what is clicked a page is generated on the fly using PHP which will call the full image, an artist statement for that image, and a link to the "buy" page for that image. The image, artist statement, and URL will be stored in a MySQL database. My issue is that I want the content of the page (image, statement, link) to be spiderable by search engines. Is this possible? If so, can anyone direct me to some information that gives me instructions on how this might be accomplished? My Googling has been ineffective at best. Any help is appreciated.
User avatar
Mordred
DevNet Resident
Posts: 1579
Joined: Sun Sep 03, 2006 5:19 am
Location: Sofia, Bulgaria

Re: Database Delivered Pages & SEO

Post by Mordred »

Easiest: Create a "site map" page with HTML links to all your dynamic pages.
Better: Build the actual gallery with static HTML links, and if you want to use javascript for fancy-shmancy UI stuff, let it override the links after page load. Thus the bots and users with no javascript will still see a fully working page.
Post Reply