Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old January 1st, 2004, 04:46 PM
JanKok JanKok is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Spartanburg
Posts: 12 JanKok User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How to keep search engine friendly sites using PHP

I have starting using PHP on my sites and the more I learn about it the more exciting I am but I have also fucussed myself on SEO issues in the last couple of years and now I am worry about keeping up with the search engines.
I realy want to use PHP but how to keep the sites search engine friendly, any suggestions, opinions or proven strategies?

Thanks,
Jan

Reply With Quote
  #2  
Old January 1st, 2004, 05:24 PM
Toasted Toasted is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 135 Toasted User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
All of my sites are PHP, and they index just fine on both Google and Inktomi.

About the only things you need to watch are:

1. Keep URL's to having no more than 2 parameters (i.e. file.php?p1=p&p2=2)
2. Avoid session id's, or anything that looks like them (eg. sid=23kjl23jhjh234j23323j). If your site uses session id's, set it up so that googlebot and slurp (inktomi's spider) can navigate through without getting a session id.

They are really the only two points you need to keep an eye on though... even if your site does use more parameters, you can always get around them using mod_rewrite (which flattens the url's removing all parameters) - that's something you only need to look at if you have lots of parameters though, I wouldn't bother with it if all your files have a maximum of 2 parameters.

Reply With Quote
  #3  
Old January 1st, 2004, 06:04 PM
JanKok JanKok is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Spartanburg
Posts: 12 JanKok User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks,

Are you using often php includes on your sites as well? Do you know how search engines or their robots handling the contents of those includes? Is there any good way to force them to reead those included content?

I know, many questions but it seems to me that you know much more about it as I do.:-)

Reply With Quote
  #4  
Old January 1st, 2004, 06:52 PM
rustybrick's Avatar
rustybrick rustybrick is offline
Contributing User
SEO Chat Frequenter (2500 - 2999 posts)
 
Join Date: Apr 2003
Location: New York, USA
Posts: 2,642 rustybrick User rank is Private First Class (20 - 50 Reputation Level)rustybrick User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 17 h 40 m 42 sec
Reputation Power: 8
If you can - for the URLs, do a mod-rewrite, it helps a bit.

Also, I am sure you know this but Ill say it anyway. Look at the source code of your page, that is what Google sees. So that answers your include question.

Reply With Quote
  #5  
Old January 1st, 2004, 08:42 PM
JanKok JanKok is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Spartanburg
Posts: 12 JanKok User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
What is exactly meand by mod-rewrite? How does that looks alike?

Reply With Quote
  #6  
Old January 1st, 2004, 09:14 PM
rustybrick's Avatar
rustybrick rustybrick is offline
Contributing User
SEO Chat Frequenter (2500 - 2999 posts)
 
Join Date: Apr 2003
Location: New York, USA
Posts: 2,642 rustybrick User rank is Private First Class (20 - 50 Reputation Level)rustybrick User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 17 h 40 m 42 sec
Reputation Power: 8
Quote:
Originally posted by JanKok
What is exactly meand by mod-rewrite? How does that looks alike?


Well, with an apache server you can use a mod_rewrite to rewrite the URLs to look more like static URLs.

For example, a url that looks like domain.com/browse.php?category=4&brand=7&color=19

The url might look like: domain.com/pants/jeans/levi/blue/levi-blue-jeans.html

This way you get keyword rich text in your url as well and its search engine friendly (non of the ?,&,%,=).

Reply With Quote
  #7  
Old January 1st, 2004, 09:42 PM
JanKok JanKok is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Spartanburg
Posts: 12 JanKok User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
That is very interesting, I assume that this is not php because I could not find it in the manual at php.net.

I would have no clew how to use this option on my site since I am hosting my web by some provider and have of course no access to the server self.

Do I need such direct access to the apache server if using this mod_rewrite option?

Jan

Reply With Quote
  #8  
Old January 1st, 2004, 09:44 PM
rustybrick's Avatar
rustybrick rustybrick is offline
Contributing User
SEO Chat Frequenter (2500 - 2999 posts)
 
Join Date: Apr 2003
Location: New York, USA
Posts: 2,642 rustybrick User rank is Private First Class (20 - 50 Reputation Level)rustybrick User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 17 h 40 m 42 sec
Reputation Power: 8
Ask your provider if mod_rewrite is turned on. I am not a programmer so I am not sure technically how it works. I just tell my staff to make it happen and they magically do it.

Let me know if you need more help.

Thanks.

Reply With Quote
  #9  
Old January 3rd, 2004, 09:26 AM
requiem requiem is offline
Contributing User
SEO Chat Novice (500 - 999 posts)
 
Join Date: Oct 2003
Posts: 532 requiem User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 59 sec
Reputation Power: 6
Smile

Learn how to rewrite URLs, there is no way around it. I guess 1/10 of my SEO business is URL rewriting.

Reply With Quote
  #10  
Old January 3rd, 2004, 02:14 PM
EGOL's Avatar
EGOL EGOL is offline
EGOL
Click here for more information.
 
Join Date: Jun 2003
Location: Snow belt.
Posts: 6,791 EGOL User rank is Second Lieutenant (5000 - 10000 Reputation Level)EGOL User rank is Second Lieutenant (5000 - 10000 Reputation Level)EGOL User rank is Second Lieutenant (5000 - 10000 Reputation Level)EGOL User rank is Second Lieutenant (5000 - 10000 Reputation Level)EGOL User rank is Second Lieutenant (5000 - 10000 Reputation Level)EGOL User rank is Second Lieutenant (5000 - 10000 Reputation Level)EGOL User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 5 Days 1 h 16 m 55 sec
Reputation Power: 75
Thanks guys... this is good info.

Reply With Quote
Reply

Viewing: SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization > How to keep search engine friendly sites using PHP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT