search counts more than one
-
Hello,
First of all i would like to thank you for your awesome plugin! i am using it a long time and it rocks!
Recently i discovered an issue with the user searches count results that i need your help.
I am using the DIVI theme and i used this shortcode to place a search input with category filters on the sites menu [searchform dropdown=”category”].I noticed that when the user does not select one category and leaves the default “none”(cat-1) on category dropdown then on the results page it shows that there were 2 searches instead of one.
After some searching in Network tab on chrome DevTools i found out that when i search a string with no category selected then there is a 301 redirect posted that has a result to count the search 2 times
1st request -> ?s=test&cat=-1 (status 301)
2nd request -> ?s=test (status 200)
As the correct search reports are very critical to me Is there anything i can do to prevent this from happening?Thanks in advanced
The topic ‘search counts more than one’ is closed to new replies.