How to do SEO with a MySQL/PHP Backend
Hi there all,
I'm about to develop a site with a DB backend & I want to know how one goes about doing organic SEO if most of the site is DB driven.
There will be some text on the page, but certain things that are pulled from the DB, won't actually be in html/xhtml on the site.
Any help is appreciated.
Thanks & have a great wknd.
SEO has nothing directly to do with server-side code like PHP. Search engines only see the client-side code that is sent to a user's browser. You therefore must apply SEO methods to the client-side code that is generated.
When a site is database-driven, it is important to make sure that HTML title tags and heading tags (h1, etc.) are customizable for each page. From a marketing perspective, the description meta tag is important. The keywords meta tag has little or no effect on SEO for major search engines and is therefore optional. Each of these is an additional column in your database and additional data that must be maintained on a page-by-page basis.
It's also a good idea to make sure that your client-side code validates using the W3C Validator
Hope this helps.
Last edited by TechEvangelist; 06-24-2005 at 08:05 AM.
Depending on the complexity of the dynamic content, you may want to consider dynamic to static conversions. What i mean by complexity, is how many variables are tacked on to the end of the URL for a dynamic page. More than a few variables may cause some instances of spidering to 'get lost' or give up. Search engines like static pages because they are more likely to be there later when someone searches the results and clicks on that link. Besides that, search engines like filenames that describe the content: "custom_computer_cases.php" as opposed to "view_product.php?id=3457v=a"
I recommend having a static version / copy of these dynamic pages. They can be created or updated each night with a cron process.
Professional Custom Web Design & Programming
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)