It's none of PHP's business. It's relative to the web server.The following
are the two solutions:

1) running PHP as CGI,just like Perl, so that you can handle the PATH_INFO
with parameters,
for example:  
change http://www.dictworld.com/search.php?q=hello&lang=en
to http://www.dictworld.com/search.php/q=hello/lang=en
or http://www.dictworld.com/search/hello/en 
(As a CGI program, you should specify the PHP.exe path like perl in every
script, such as: #!/usr/bin/php )

2) load module <mod_rewrite.c> in Apache.Then modify the httpd.conf and add
this rule(for example):

RewriteRule  path/to/([a-z]+)_([a-z]+).html search.php?q=$1&lang=$2

so that you can access your web via
http://www.dictworld.com/path/to/hello_en.html

May these help you,

Yong from Xerox, China
2005/5/8

-----Original Message-----
From: Muhammad Imran [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 05, 2005 12:14 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] changing querystring to fixed link


How I can make different querystring in to fix string, so search engines
can cache the pages. I'm using php+mysql+apace, any help much
appreciated. 

Regards,
Imran

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to