954,355 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Googles php and MySQL preferences

Hi all, does anyone know if it affects the way google ranks a page if most of the data in php pages is drawn from MySQL?

For example - a simple About Us page...

One page in php with all body text drawn from MySQL, versus, one page in php with all body text hard coded as html by temporarily jumping out of php


Has anyone got any info or had an experience on this subject?

Cheers =)

<?php?>
Newbie Poster
4 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 
Has anyone got any info or had an experience on this subject?

I noticed that nobody has responded to your question yet so I thought I may as well try to help you out a bit, perhaps point you in the right direction.

I can't give you the URL and I'm too lazy to change my profile to give you an easy clickthrough but ... try performing a search within the search engines themselves to find where they write about this stuff. All the instructions are within the search engines themselves. Go dig, it's all there for you. Happy SERPs.

canadafred
SEO Consultant
Moderator
1,021 posts since Feb 2006
Reputation Points: 192
Solved Threads: 28
 

Dynamic pages, such as those which fetch information from a database, do so on the server's side. Just like a static content page, they all return only HTML to the user's web browser. The only way a search engine can tell a particular page is dynamic or static is by the file extension - ie. php or .html.

Of course, if every single page of the site has the same header and footer and sidebar, that would be a clue to the search engines that there is some server side including or dynamic activity going on. Or, if there are millions of page ... odds are the pages are automatically rendered based on information in a database.

Keep in mind this certainly isn't a bad thing!! You only start getting into trouble with Google rankings when you start using crazy dynamic URLs like www.site.com/page.php?do=view&pageid=123&process=yes

... because then it just becomes way too apparent that all of this content is not only dynamic, but there are so many query string parameters, and someone can throw anything they want into one of those parameters, and make a virtually unlimited number of different pages!

A very solid navigational scheme and good content will be your best bet regardless of how you make up your site.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 
Keep in mind this certainly isn't a bad thing!! You only start getting into trouble with Google rankings when you start using crazy dynamic URLs like www.site.com/page.php?do=view&pageid=123&process=yes

What an awesome reply!! You have totally answered the question and then some, thank you very much

<?php?>
Newbie Poster
4 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

You're welcome.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 
Hi all, does anyone know if it affects the way google ranks a page if most of the data in php pages is drawn from MySQL? For example - a simple About Us page... One page in php with all body text drawn from MySQL, versus, one page in php with all body text hard coded as html by temporarily jumping out of php Has anyone got any info or had an experience on this subject? Cheers =)


Hi,

Do you know about mod-rewrite in php :cheesy: this will help you to convert the dynamic URLs to static URLs, that helps in SE rankings. Let me know if you need any help :)

newonlineinfo
Junior Poster in Training
96 posts since Jul 2006
Reputation Points: 10
Solved Threads: 0
 
Do you know about mod-rewrite in php :cheesy

mod_rewrite is actually a part of the Apache web server and has nothing to do with PHP. In fact, it can be used with any pages Apache serves.

stymiee
He's No Good To Me Dead
Moderator
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38
 
mod_rewrite is actually a part of the Apache web server and has nothing to do with PHP. In fact, it can be used with any pages Apache serves.


Hi,

Yes, this term is used to talk about the URL conversion. So i said "mod-rewrite". :cheesy:

newonlineinfo
Junior Poster in Training
96 posts since Jul 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You