-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* and then Torkil Johnsen blurted....
> Now. I would of course like for my site to be listed in the search engines,
> and I wouldn't mind getting search hits on both cars and ferrari. But. Will
> the web spiders and web crawlers ever follow a link like
> index.php?page=cars&subpage=ferrari and will they ever index what they find
> there, and, and, and, and...

Some will, some wont. The trick is to use something like this
index.php/cars/ferrari using Apache's backward searching feature.
Together with a very simple .htaccess you can fool Apache into looking
for the dirctory 'ferrari' and when it doesn't find it look for the dir
cars (php assigns these values to the vars $page and $subpage) and when
it finally finds index.php you can feed it those vars and let it do its
stuff.

I can't remember all the details as it was ages ago that I did this on
my site but you can find a very good tutorial on www.sitepoint.com
you'll have to do a little searching as it was written quite a while
ago but it'll be well worth your while.


- -- 

Nick Wilson

Tel:    +45 3325 0688
Fax:    +45 3325 0677
Web:    www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8UYBCHpvrrTa6L5oRAuwdAJ9PWgFKOylhOrPz6rv7KBifXcbdjgCfUQax
7csTk0GnAC17z8ie8RGFqYU=
=NaWj
-----END PGP SIGNATURE-----

-- 
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]

Reply via email to