Home   Forum   401k   Credit Cards  
    Register   Login   Members   Search   FAQs     Recent Posts    
Are PHP files with mySQL records checked by robots

Reply to topic
Money Talk > The Web for Profit

Author Thread
edpudol
Full Member


Cash: $ 6.78

Posts: 91
Joined: 07 Jun 2004

Are PHP files with mySQL records checked by robots  Reply with quote  

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
Post Thu Jul 15, 2004 2:14 am
 View user's profile Send private message Visit poster's website
Andrew
Admin


Cash: $ 460.25

Posts: 1695
Joined: 02 Nov 2003
Location: Texas
 Reply with quote  

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.
Post Thu Jul 15, 2004 3:59 am
 View user's profile Send private message
Euler
Senior Member


Cash: $ 76.16

Posts: 404
Joined: 06 Nov 2003

Mod rewrite.  Reply with quote  

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.
Post Thu Jul 15, 2004 9:19 pm
 View user's profile Send private message
edpudol
Full Member


Cash: $ 6.78

Posts: 91
Joined: 07 Jun 2004

 Reply with quote  

Thank you guys. I think I got the answer of my question.

But could you tell me more about this:

quote:
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




Sory for my ignorance, I am a freshman in website developing, could you tell me a website with a tutorial on this matter thanks.[/quote]

busby seo challenge

Learn how I make $6,000 a month
Post Thu Jul 15, 2004 9:59 pm
 View user's profile Send private message Visit poster's website
Euler
Senior Member


Cash: $ 76.16

Posts: 404
Joined: 06 Nov 2003

 Reply with quote  

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.
Post Fri Jul 16, 2004 6:04 pm
 View user's profile Send private message



Reply to topic
Forum Jump:
Jump to:  
  Display posts from previous:      






Money Talk © 2003-2011



Arcade Banner Exchange