Dynamic(PHP) pages & spiders

Posted By: dbmorgan ()
Posted On: 2004-Aug-23 20:41

Please allow me to introduce myself as a new member. I rn a business by the name of Pepper-Passion and we just celebrated out first year of business with and have a small article in this month's (September/04) issue of Sunset Magazine. Many things have gone well, we achieved a PR of 6 within five months of starting and have had an Alexa traqffic rank occasionally in the top 100,000.

What is really perplexing me isthe inability to get my dynamic pages idexed on Google and to get some page rank for them. I have created the content but I have to trust my programmmer to create the archicteure that will allow the spiders to crawl inside and to find content that goes beyond the home page. I know other have the same problem and if there is a solution it does not seem to be widely known. Can anyone help here?

Thanks & Regards, Bruce


Posted By: davaddavad ()
Posted On: 2004-Aug-23 20:49

Google does php pages but it doesn't like ?'s in the url as much. 1 is ok but more than 1 google is afraid is robot will get caught in an endless loop.
Google also doesnt like session ids.
If you have apache server mod_rewrite will make google and user friendly urls
There is a pay solution for IIs.
A site map will help too.
hth dave


Posted By: mincklerstraat ()
Posted On: 2004-Sep-16 18:07

You have apache, which is a good thing - you should have mod_rewrite, it comes standard with apache, might have to ask your host to turn it on if it's not on. A tutorial for getting your url's more se-friendly: http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html


Posted By: langard ()
Posted On: 2004-Oct-19 07:10

If you're running on a Virtual Server that hosts multiple domains, a universal mod_rewrite change at the apache root level can cause difficulties with the content of other domains that may be using any number of different languages.

Here's an alternative.

Google, MSN, Yahoo and most others don't have a problem at all with URLs that have a slash replacing the query mark like:
SomeDomain/somepage.php/var/var/var...etc

The hyperlink will go to somepage.php. You retreive the variables by parsing the URL in the header with something like:
<?
$url_array = explode("/",$REQUEST_URI);
$domain = $url_array[0];
$page = $url_array[1];
$var1 = $url_array[2];
$var2 = $url_array[3];
$var3 = $url_array[4];
?>

We've used it successfully without any penalty in the SEs. More to the point, it is no longer mandatory or even necessary to use .htm or html extensions in URLs in order to gain additional favor in the SEs. Its completely safe to promote .php, .asp, cfm, etc. URLs so long as you leave the query marks out.

Oh, and you'd better cut the MD5-style, 32-character variables you're passing to something more manageable or the SEs will ignore it anyway - maybe just for their own general link layout purposes or the 255 char GET rule. A lot of e-mail clients don't even like to send links that long...They choke on them.

[ Message was edited by: langard 10/18/2004 11:23 pm ]