I have Htaccess file and pagination search engine, it is my search engine forms
this is my RewriteRule to original url:
in the address bar of my browser:
localhost/project/admin/keyword=....-page=2
then I click on page 2, but '-page=2' is read as a keyword, so the error message that I have created appear
"cannot find data = .....-page2"
anyone can solve this problem?
Code:
<form class='fright' method='get' action='hasil_cari=' onsubmit="return false;">
<input class='srcText' style='padding:6px;'type='text' name='keyword'>
<input class='submit' style='padding:5;' type='submit' value='find' onclick="window.location.href=this.form.action + this.form.keyword.value;">
</form>
Code:
RewriteRule ^admin/keyword=(.*)-page=(.*)$ admin/index.php?h=home&m=find&keyword=$1&p=$2 [L]
in the address bar of my browser:
localhost/project/admin/keyword=....-page=2
then I click on page 2, but '-page=2' is read as a keyword, so the error message that I have created appear
"cannot find data = .....-page2"
anyone can solve this problem?