Hi, In my site, when we search something, all the search pages (even for different search terms) have the url index.php?do=search. How can i bring a keywords (search terms) into the url. Please help Site: http://www.techspott.com/ Thanks
Options +FollowSymLinks RewriteEngine on RewriteRule (.*)\.htm$ /index.php?do=$1 would make the page search.htm
Thanks for your reply but still i could not get it to be done. As you said, i applied htaccess but as i use smarty templates, i defined {search} as the searchterm in index.php and i added the following code to the search form. <form action="search-{search}.html" name="seatchform" method="post"> but in the url, it shows search-.html and the keyword is not being shown. My Site: http://www.techspott.com