| Are PHP files with mySQL records checked by robots |
|
|
|
|
|
edpudol
Full Member
Cash: $ 6.78
Posts: 91
Joined: 07 Jun 2004
|
| Are PHP files with mySQL records checked by robots |
|
|
I just want to ask to the experts in this forum, if PHP files are search engine friendly. I read one article that javascript is not a search engine friendly that's why I ask this question.
In addition to my question how about data store on mySQL database? Does search engine give them a point? For example I make a link exchange in my site, and I prefer to store all those link in a mySQL database , does this method still give a value for Page Rank?
busby seo challenge
Learn how I make $6,000 a month
|
Thu Jul 15, 2004 2:14 am |
|
|
Andrew
Admin

Cash: $ 460.25
Posts: 1695
Joined: 02 Nov 2003
Location: Texas |
There is nothing about PHP itself that makes it incompatible with proper search engine indexing. Some particular implementations can cause a problem with some search engines. For example, the forum software we are using now is PHP, and out-of-the-box the software isn't Google friendly, because it adds a variable ("sid") to the URL. Since Google prefers a less complex URL for dynamic pages, I modified this software to not give Google a "sid", and it works much better. Having a mySQL database with the PHP will not affect the SEO factors at all either.
|
Thu Jul 15, 2004 3:59 am |
|
|
Euler
Senior Member
Cash: $ 76.16
Posts: 404
Joined: 06 Nov 2003
|
| Mod rewrite. |
|
|
Yeah google doesn't do sessions. LOL
PHP isn't the problem.
Most scripts pass variables through the URL. Current spidering tech doesn't crawl this type of URL very well. It will get better, but what do we do in the meantime?
Check out mod_rewrite. Mod rewrite can turn a url like this:
http://server.com/yoscript.cgi?var1=value1&var2=value2&var3=value3
...into a url like this:
http://server.com/yoscript/value1/value2/value3
Google happens to LOVE URLs of that form.
Caution: Mod_rewrite will attempt to kick your ass. Don't let it. Just put your regexp galoshes on, never test on production servers and stay in the saddle. Do a google search, mod_rewrite is old reliable technology and there are resources everywhere.
|
Thu Jul 15, 2004 9:19 pm |
|
|
Euler
Senior Member
Cash: $ 76.16
Posts: 404
Joined: 06 Nov 2003
|
You mean besides the ones I already provided? Just scan that google search I linked. There's more than you'll be able to absorb in a day.
I'm just getting into mod_rewrite too. I'll post my progress in this thread when I make some progress.
mod_rewrite in a nutshell:
Basically you use regular expressions to tell apache how to rearrange the URL. It's just a few extra lines in your httpd.conf file. But they have to be the *right* lines or your site breaks.
Some say that mod_rewrite is overkill for simplifying php URLs. Php will parse anything after the script name however you tell it to. You can split it up into an array and have your way with it. Same end result to the end user.
You don't need mod_rewrite if all you're ever going to do is a couple of php scripts. If you want to use multiple languages and systems later, you DO need mod_rewrite.
|
Fri Jul 16, 2004 6:04 pm |
|
|
|