|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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"); |
|
#3
|
||||
|
||||
|
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 |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
An old post on search engine optimization....
Quote:
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 |
|
#6
|
||||
|
||||
|
here u go
__________________
"In a way, we're dead already" |
|
#7
|
|||
|
|||
|
Thanks grungefade!
Cool photo ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > search engine optimization and php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|