PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

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 Dev Shed Forums Sponsor:
  #1  
Old August 30th, 2002, 10:45 PM
jahu jahu is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 110 jahu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 16 m 17 sec
Reputation Power: 7
search engine optimization and php

I was wondering how search engine spiders will handle dynamic php info. Basically getting to the point, will a spider be able to read this text and the keyword 'myProduct' in the text? Thanks in advance for any help...


function page_text($keywords){
?>
Text for the page with plenty of <?=$keywords?>
<?
}


page_text("myProduct");

Reply With Quote
  #2  
Old August 30th, 2002, 10:47 PM
4Life 4Life is offline
Please call me Joe ;)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: the web
Posts: 244 4Life User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I doubt it....
Somebody please correct me!

Cheers,
Joe of 4Life
__________________
Cheers,
Joe of 4Life

Check out 4Life today!

Reply With Quote
  #3  
Old August 31st, 2002, 07:08 AM
Donncha's Avatar
Donncha Donncha is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Galway, Ireland
Posts: 8 Donncha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 3 m 11 sec
Reputation Power: 0
Well of course it can. Whether it was created dynamically or is just a static HTML page it will still read the same text.
__________________
Gamers Europe :: Keeping it Simple

Reply With Quote
  #4  
Old August 31st, 2002, 09:38 AM
ScottBP ScottBP is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: CA US
Posts: 62 ScottBP User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Typically any content that is displayed on a page can be read by a search engine. The search engine doesn't care if it is dynamically created or not.

The challenge with most search engines is that they do not read pages when the URL is http://www.mydomain.com/page.php?id=1. The search engines typically will ignore the URL after the '?'. Depending on your PHP configuration you could fake the search engine by using the URL http://www.mydomain.com/page.php/id/1/ or even http://www.mydomain.com/page/id/1/ this way the search engines would see the page as if it came from a bunch of sub directories instead of being a .php page with variables being pushed.

Scott
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scott B. Pier
ScottBP@amalla.com
http://www.amalla.com

Reply With Quote
  #5  
Old March 19th, 2004, 02:46 PM
jaypeesol jaypeesol is offline
Rehistradong manggagamit ...
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Cavite, Philippines
Posts: 116 jaypeesol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 22 sec
Reputation Power: 6
Send a message via ICQ to jaypeesol Send a message via AIM to jaypeesol Send a message via MSN to jaypeesol
An old post on search engine optimization....

Quote:
Originally Posted by ScottBP
Typically any content that is displayed on a page can be read by a search engine. The search engine doesn't care if it is dynamically created or not.

The challenge with most search engines is that they do not read pages when the URL is http://www.mydomain.com/page.php?id=1. The search engines typically will ignore the URL after the '?'. Depending on your PHP configuration you could fake the search engine by using the URL http://www.mydomain.com/page.php/id/1/ or even http://www.mydomain.com/page/id/1/ this way the search engines would see the page as if it came from a bunch of sub directories instead of being a .php page with variables being pushed.

Scott


Hi! I've found the post above by searching this forum. Can anyone tell me how do I set up my server to recognize the urlhttp://www.mydomain.com/page.php/id/1/ which will really point to http://www.mydomain.com/page.php?id=1.? Or does anyone know a tutorial for this?

Thanks!!!
__________________
JP

Reply With Quote
  #6  
Old March 19th, 2004, 03:28 PM
grungefade's Avatar
grungefade grungefade is offline
I'm just an IF statement
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 400 grungefade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 26 m 59 sec
Reputation Power: 6
here u go

__________________
"In a way, we're dead already"

Reply With Quote
  #7  
Old March 19th, 2004, 03:33 PM
jaypeesol jaypeesol is offline
Rehistradong manggagamit ...
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Cavite, Philippines
Posts: 116 jaypeesol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 22 sec
Reputation Power: 6
Send a message via ICQ to jaypeesol Send a message via AIM to jaypeesol Send a message via MSN to jaypeesol
Thanks grungefade!
Cool photo

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > search engine optimization and 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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





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