On Nov 14, 2007 5:03 PM, Ki Song <[EMAIL PROTECTED]> wrote:
> > Try this instead:
> >
> > RewriteCond %{QUERY_STRING} ^([^,]*) [NC]
> >
> > If it still does not work, bump the RewriteLogLevel to 9 and look for
> > answers
> > in the log file.
>
> I tried that code and it didn't work.
Did you tu
> Try this instead:
>
> RewriteCond %{QUERY_STRING} ^([^,]*) [NC]
>
> If it still does not work, bump the RewriteLogLevel to 9 and look for answers
> in the log file.
I tried that code and it didn't work.
I saw that there may be some typos, so I tried the following:
RewriteCond %{QUERY_STRING
Objet : Re: [EMAIL PROTECTED] Mod_Rewrite from old dynamic page
>> For some reason, the productSKU in the old url was frequently
>> followed by a ',' (comma). So, for example,
>> http://store.knifecenter.com/pgi-Product
>> Spec?productSKU, would be a valid url i
>> For some reason, the productSKU in the old url was frequently followed by a
>> ',' (comma). So, for example, http://store.knifecenter.com/pgi-Product
>> Spec?productSKU, would be a valid url in the old system.
>>
>> Is there a way to "drop" the trailing ',' in the old url?
>
> Again, untested,
On Nov 13, 2007 7:43 PM, Ki Song <[EMAIL PROTECTED]> wrote:
> For some reason, the productSKU in the old url was frequently followed by a
> ',' (comma). So, for example, http://store.knifecenter.com/pgi-Product
> Spec?productSKU, would be a valid url in the old system.
>
> Is there a way to "drop"
>> How would I write a second rule for:
>> OLD URL: http://store.knifecenter.com/pgi-Product Spec?productSKU
>> NEW URL: http://www.knifecenter.com/kc_new/store_detail.html?s=productSKU
>>
>> Basically, it is the same OLD URL, except there is a space between Product
>> and Spec. Please note both
On Nov 13, 2007 6:07 PM, Ki Song <[EMAIL PROTECTED]> wrote:
> How would I write a second rule for:
> OLD URL: http://store.knifecenter.com/pgi-Product Spec?productSKU
> NEW URL: http://www.knifecenter.com/kc_new/store_detail.html?s=productSKU
>
> Basically, it is the same OLD URL, except there is
>> How would I write a mod_rewrite rule for the following:
>> OLD URL: http://store.knifecenter.com/pgi-ProductSpec?productSKU
>> NEW URL: http://www.knifecenter.com/kc_new/store_detail.html?s=productSKU
>>
>> Is there a way to pass the productSKU to the new url?
>
> How about:
>
> RewriteCond
On Nov 13, 2007 5:10 PM, Ki Song <[EMAIL PROTECTED]> wrote:
> How would I write a mod_rewrite rule for the following:
> OLD URL: http://store.knifecenter.com/pgi-ProductSpec?productSKU
> NEW URL: http://www.knifecenter.com/kc_new/store_detail.html?s=productSKU
>
> Is there a way to pass the product