RE: [PHP] Searchengine friendly URLs

2001-10-30 Thread Joseph Blythe

Not sure if you have seen this, it has been around for a while:

http://www.phpbuilder.com/columns/tim2526.php3

Regards,

Joseph

-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 27 October 2001 3:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Searchengine friendly URLs


Hi there,

I heared that search engines are not following things after the question
mark. Now I looked arround and noticed, that some sites yust have numbers
behind the .php extension. How does this work? Can anybody make an example
and list advantages and disadvantages?

Thanx,

Andy



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Searchengine friendly URLs

2001-10-30 Thread Chris Hayes

I heard google does follow links with the ?var=value part, others don't.

So some people now work with 
page.html/var/value/var2/value2

don't ask me how it works though



--  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --


 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Searchengine friendly URLs

2001-10-26 Thread Thomas Deliduka

I found several problems with managing this. All links on the page CANNOT be
relative (i.e. HREF="filename.php/var/var/var" it must be
HREF="/filename.php/var/var/var" or with the full path. Otherwise your
browser will try to attach the filename to the end of the long querystring
you created.  Unless someone on this list knows of a way around that.

As for a form, say the resulting form of a searchbox. If you want the form
to be a 'GET' form so people can see the querystring I created a file which
made that happen. You POST to the form with a hidden variable in there
containing the actual destination. The code is here:

 
>   Search engines don't normally reach anything on a query string (whatever's
> after a ? ).  So, if you're passing variables from one page to another, you
> can use a spider-friendly method by changing your URL from something like
> http://host/script?var1=1&var2=2 to something like http://host/script/1/2.
> Then you can extract the variables through the $PATH_INFO variable.
> 
>   This was discussed a while back when I posted this same question.  Look
> through the archives and search for subject topic "Submitting variables via
> /'s"...
> 
>   You may also want to read the following article:
> 
>   http://www.zend.com/zend/spotlight/searchengine.php

-- 

Thomas Deliduka
IT Manager
 -
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Searchengine friendly URLs

2001-10-26 Thread Ashley M. Kirchner

Andy wrote:

> I heared that search engines are not following things after the question
> mark. Now I looked arround and noticed, that some sites yust have numbers
> behind the .php extension. How does this work? Can anybody make an example
> and list advantages and disadvantages?

Search engines don't normally reach anything on a query string (whatever's
after a ? ).  So, if you're passing variables from one page to another, you
can use a spider-friendly method by changing your URL from something like
http://host/script?var1=1&var2=2 to something like http://host/script/1/2.
Then you can extract the variables through the $PATH_INFO variable.

This was discussed a while back when I posted this same question.  Look
through the archives and search for subject topic "Submitting variables via
/'s"...

You may also want to read the following article:

http://www.zend.com/zend/spotlight/searchengine.php


--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +
  Ashley M. Kirchner    .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith . 800.441.3873 x130
  Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
  http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Searchengine friendly URLs

2001-10-26 Thread WebDev

Hello Andy,

Its just a way of passing along variable information as you would do
with a form except you attach the variable/args directly to the URL.

For example if you have a script that list all records in a database,
you may have a link for deleting records that would be attached to
each record with identifying information.  The link may look something
like http://somedomain.com/processRecord.php?action=delete&recID=24

So when you click this link for the processRecord.php script you pass
in the action=delete and recID=24 as variable information.

So in your processRecords.php script you may have something like:




Hope this helps.
-Merle

Friday, October 26, 2001, 3:13:31 PM, you wrote:

A> Hi there,

A> I heared that search engines are not following things after the question
A> mark. Now I looked arround and noticed, that some sites yust have numbers
A> behind the .php extension. How does this work? Can anybody make an example
A> and list advantages and disadvantages?

A> Thanx,

A> Andy



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]