Jump to content

MySQL and PHP SEF/SEO?


scrubbicus

Recommended Posts

So I'm curious how it works with PHP and MySQL. Will I be ranked just as high organically if I'm generating my content through dynamic PHP and functions as well as pulling information from MySQL databases rather then having all the content in plain HTML? If yes how does that work, if no how can I make it work since I'm sure all of the larger websites are using such a system.

 

For a quick example.

 

Would these all work the same in terms of search engine visibility?

 

<title>Hello Website Nice to Meet You

 

<title><?php echo 'Hello Website Nice to Meet You'.$_SESSION['name']; ?></title>

 

class meta

{

private $_title = 'Hello Website Nice To Meet You';

public function getTitle()

{

echo $this->_title;

}

}

 

<title><?php $meta->getTitle(); ?></title>

 

Ya know and so on...

Link to comment
https://forums.phpfreaks.com/topic/163953-mysql-and-php-sefseo/
Share on other sites

Right so for instance one of my articles is ranked on Google but that article is generated with PHP from the MySQL database so how did the crawler find it? Would a website made completely out of HTML, all articles wrote in HTML be ranked higher in terms of the keywords and content on that website then a website where all the articles are pulled out of a database and all the links and most of the other content would be generated dynamically with PHP? These websites would theoretically be the same.

 

I'm asking this question because a friend of mine has a very small website, no PHP is really NEEDED but I like using it because it makes the site easier to edit when it comes to it. Would I be better of just making the entire website HTML/CSS and static for more search engine optimization?

Link to comment
https://forums.phpfreaks.com/topic/163953-mysql-and-php-sefseo/#findComment-865811
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.