Luke Jones
Aug 14th 2007, 12:30 pm
Hello,
I'm using the following rewrite in my search engine:
RewriteRule ^news/(.*) news.php?query=$1
Instead of processing (.*) as the search query, it is processing news/(.*). So, everytime a search is done, news/searchquery gets added to the database. Only the search query should be added.
Does anyone know why this is happening, and how I can fix it?
Luke
I'm using the following rewrite in my search engine:
RewriteRule ^news/(.*) news.php?query=$1
Instead of processing (.*) as the search query, it is processing news/(.*). So, everytime a search is done, news/searchquery gets added to the database. Only the search query should be added.
Does anyone know why this is happening, and how I can fix it?
Luke