Forum Moderators: coopster & phranque

Message Too Old, No Replies

Getting rid of?, & and = in url string

Looking for modified readparse perl script for dynamic site

         

lgn1

10:52 pm on Nov 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We are getting tired of having google only read our home page as our site is dynamic and the url string is in the form:

www.example.com/cgi-bin/script.pl?page=webpage.html&cart_id=1234.56

which is how the standard readparse function in cgi_lib.pl likes to see it under perl

We like to read string to this form:

www.example.com/cgi-bin/script.pl/page/webpage.html/cart_id/1234.56

My understanding is that google will them be able to spider the dynamic pages in this form.

Before I go ahead an recreate the wheel, has anybody written a script to decipher the modified form, breaking this out in querry string pairs. Basically its a
modified version of the readparse function.

Posting an example of the modified script would save me a bunch of time, and would be appreciated greatly.

jatar_k

6:25 am on Nov 24, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



This might help
An Introduction to Redirecting URLs on an Apache Server [webmasterworld.com]