Forum Moderators: phranque

Message Too Old, No Replies

rewritten URLs and the Form POST method

submit form data to a rewriten URL

         

crosescu

11:50 pm on Jan 18, 2007 (gmt 0)

10+ Year Member



Hi all,

I have a form that POSTs data to the URL; i.e. method="post" action="/classifieds/"

the form has the input boxes: Location, Category and Keyword

What I am trying to do is to rewrite the URL like this
mydomain.com/classifieds/boston/motorbikes/?k=keyword

and POST the form data to the rewritten URL

I hope the above is clear enough :)
Cristian

eelixduppy

3:33 pm on Jan 19, 2007 (gmt 0)



Hello,

Have you tried just changing your action?


<form method="post" action="mydomain.com/classifieds/boston/motorbikes/?k=keyword">

This should work, assuming I am understanding you correctly. :)

Good luck!