Jump to content

Search Engines and PHP sites


sipickles

Recommended Posts

Hello,

 

I am new to PHP, but have found it very useful.

 

I've used it to simplify the build of my latest project, which is in beta at http://www.science-projects.org/2007.

 

My question relates to how search engines index PHP sites. Obviously, search engines will include the index.html file which kicks off the website, but will they be able to build links to deeper pages which are PHP generated?

 

Thanks

 

Simon

 

 

Link to comment
Share on other sites

I am not sure what you are asking, but I am too a PHP noobie. I have learned over the years how search engines work. They use what we call "spiders" that search every page in their database that matches what ever key word you had entered. They use meta tags to label each page into categories and such.

 

If you where asking if search engines look for php pages, then yes they do. Just go to google and type "inurl: .php"

 

I hope I had answered your question.

 

-Lamez  :D

Link to comment
Share on other sites

Hmm, those answers seem to contradict slightly, so I'll elaborate.

 

I've a page at the site called 'hub.php'

 

it takes a 'target' as a variable, which it uses to include the correct PHP file, containing details like which banner to use, text, image links etc. hub.php then builds the page according to the supplied variables:

 

hub.php?target=history/history1.php

 

The supplied page name is crosschecked against a list of allowed targets before executing an include, as a security measure.

 

If index.html has a link to hub.php?target=history/history1.php will a search engine spider to this address?

 

and if history1.php has a link to hub.php?target=history/history2.php will this link be followed too?

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.