[thelist] RE: keywords and optimization

.jeff jeff at members.evolt.org
Tue Jun 5 11:01:29 CDT 2001


deke,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: deke
:
: If you replace the question mark with a
: virgule (slash), you can access the
: information using PATH_INFO, but it still
: looks like a standard path to a spider.
: This is *far* more useful, and it probably
: is used more than mod_rewrite - at least,
: as far as search engine spidering concerns
: go.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

i'm assuming you're talking about a url with one of the following syntaxes:

http://domain.com/index.php/var1=foo&bar2=bar&var3=boo&var4=far

or

http://domain.com/index.php/var1/foo/bar2/bar/var3/boo/var4/far

unfortunately, a number of the more popular spiders are already wise to
these "tricks" and treat these sorts of urls as dynamically driven pages.
usually what they're looking for is anything in the url after a dot.  in the
examples above, they see the ".php" and rightfully assume that everything
after that is a query string of sorts.

the only reliable way is to make the request appear to have directory
structure:

http://domain.com/var1/foo/var2/bar/var3/boo/var4/far/

or

http://domain.com/var1/foo/var2/bar/var3/boo/var4/far.html

or ultimately

http://domain.com/foo/bar/boo/far/

thanks,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/







More information about the thelist mailing list