Help - Search - Members - Calendar
Full Version: Awstats-external Links-exclude Filter
TotalChoice Hosting Family Forums > TotalChoice Hosting General Support > CPanel and Site Maintenance
DWD
In cPanel, Web/FTP Stats, Awstats, Links from an external page, Full list, Exclude filter...can you, and if so how do you, exclude multiple words. Such as if you want to exclude poker, SPAMMER-BEWARE, and texas.

I have tried just listing the words, separation by commas or semicolons, separation by "and"...but I can't seem to get anything to work. I've also tried doing one exclusion, hitting enter, and then doing another exclusion but this does not work as the exclusion do not build on each other, so to speak, but rather the second one takes the place of the first, and the term from the first exclusion returns.
TweezerMan
AWStats interprets any text in the 'Filter' or 'Exclude filter' boxes to be a regex. To exclude links containing the words 'poker', 'SPAMMER-BEWARE', and 'texas' at the same time, separate the words with a '|':
CODE
poker|SPAMMER-BEWARE|texas
DWD
And here I though I was fairly computer savvy. I have never heard of "regex" or of using the "|" symbol.

It worked perfectly!!! "atlantis|hacker|discount|poker|texas|randppro" got rid of 100% of my referrer spam.

THANK YOU DAVID clapping.gif kicking.gif notworthy.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.