How to shorten url from form (method="get")?
I’ve created a form on my website which acts like a search engine for my dictionary. Everything’s ok until I start using all these options for advanced search and URL (which contains all the data necessary for the mysql query) starts looking something like this:
Not only this is impractical, but I’d rather visitors didn’t have to see all that data in the URL.
I’ve written this code in a page template and omitted the action attribute as it would otherwise redirect me to my homepage.
Is there a way I could continue using method get, but make it invisible for the visitors (or encode it)?
- The topic ‘How to shorten url from form (method="get")?’ is closed to new replies.