Search Statistics

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
pmfuser
Posts: 106
Joined: Tue Apr 01, 2014 7:00 am

Search Statistics

Post by pmfuser »

I wonder where the data for Search Statistics is coming from?

The reason I ask is that as soon as I delete a query in the admin panel, it reappears. This happens with not just one but multiple queries. Some of them are quite long and specific, so I find it impossible that they've been typed into the search box right after I hit delete icon.

All of these terms have special URL encoded characters in some spots (space, question mark, etc.) so this leads me to think about search queries made by bots being written in access logs. I already listed those bots in the Constants config file to be blocked, yet these terms are appearing in the Search Statistics again (identical terms coming back again and again).

Thanks
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search Statistics

Post by Thorsten »

Hi,

the search statistics are stored if you submit a term in the search, it'll be saved to the faqsearches table. If the word is not 100% equal, duplicates are possible.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
pmfuser
Posts: 106
Joined: Tue Apr 01, 2014 7:00 am

Re: Search Statistics

Post by pmfuser »

Thanks.
saved to the faqsearches table
Sounds good. My question is why would terms show up again immediately after I hit the delete button? I guess the search button is supposed to delete the given term from the faqsearches table. This does not happen here.

Thanks

Addition: I just checked the database and confirmed that the term stays there even after I hit the delete button in the admin interface. That explains why those terms keep coming back.
Post Reply