Title: editorsean's Replies | WordPress.org

---

# editorsean

  [  ](https://wordpress.org/support/users/editorsean/)

 *   [Profile](https://wordpress.org/support/users/editorsean/)
 *   [Topics Started](https://wordpress.org/support/users/editorsean/topics/)
 *   [Replies Created](https://wordpress.org/support/users/editorsean/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/editorsean/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/editorsean/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/editorsean/engagements/)
 *   [Favorites](https://wordpress.org/support/users/editorsean/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Quiz tag no longer works as a mail tag](https://wordpress.org/support/topic/quiz-tag-no-longer-works-as-a-mail-tag/)
 *  Thread Starter [editorsean](https://wordpress.org/support/users/editorsean/)
 * (@editorsean)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/quiz-tag-no-longer-works-as-a-mail-tag/#post-13223671)
 * After updating to version 5.2.1, this issue is fixed.
 * Personally I don’t like Google recaptcha. As my ISP uses a NAT, occasionally 
   I end up being connected with a blacklisted shared IP address, which basically
   means if I land on a site that uses Google recaptcha, it might give an endless
   loop of puzzles to solve. It’s a terrible experience that I don’t my visitors
   to face if they need to contact me.
 * With the quiz, I post a photo of some random object and ask for the word directly
   above the ‘CE’ mark, brand name shown on the item, etc. So far this has worked
   very well and often go months without a single spam. Previously with math and
   trivia questions, I was regularly getting spam.
    -  This reply was modified 5 years, 9 months ago by [editorsean](https://wordpress.org/support/users/editorsean/).
      Reason: correction
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kento Post View Counter] Can I do so my own vist not be counted.](https://wordpress.org/support/topic/can-i-do-so-my-own-vist-not-be-counted/)
 *  [editorsean](https://wordpress.org/support/users/editorsean/)
 * (@editorsean)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/can-i-do-so-my-own-vist-not-be-counted/#post-5070030)
 * I had this same issue also, as each time I checked my posts to check their view
   counts, my own view was counted on each. The same was also true when a bot viewed
   the posts, such as Googlebot. This became a problem in seldom viewed posts these
   extra views would badly skew the counts over time.
 * The following is based on a modification of this plug-in I did on my website,
   which should stop bots/crawlers and logged in users incrementing view counts.
 * Edit the file ‘index.php’ in /wp-content/plugins/kento-post-view-counter
 * Scroll down to the following block of code (line 472 in version 2.7):
 *     ```
       if($visited=="yes")
       		{
   
       		}
       	elseif($visited=="no")
       ```
   
 * Change the first line of this so it becomes:
 *     ```
       if($visited=="yes" || is_user_logged_in()  || _bot_detected())
       		{
   
       		}
       	elseif($visited=="no")
       ```
   
 * Add the following code before the ‘?>’ at the end of this file:
 *     ```
       function _bot_detected() {
   
         if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/bot|crawl|slurp|spider/i', $_SERVER['HTTP_USER_AGENT'])) {
           return TRUE;
         }
         else {
           return FALSE;
         }
   
       }
       ```
   
 * This function I found online basically checks the user agent to see if it’s a
   known bot or crawler and returns TRUE if it is.
 * Now the view count will only climb when a guest views the page. My site does 
   not allow users to log in, so this code would need to be tweaked if you would
   like to count logged in user views also, but not editor/admin views.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CF7 Apps – Honeypot, Database, Redirection, Webhook, and Addons for Contact Form 7] Generate tag problem in Contact Form 7 v3.9](https://wordpress.org/support/topic/generate-tag-problem-in-contact-form-7-v39/)
 *  Thread Starter [editorsean](https://wordpress.org/support/users/editorsean/)
 * (@editorsean)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/generate-tag-problem-in-contact-form-7-v39/#post-5102499)
 * Thanks for the update, I installed the update v1.6.1 and the generate tag feature
   is working now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Compatibility issue with Rename wp-login.php plugin](https://wordpress.org/support/topic/compatibility-issue-with-rename-wp-loginphp-plugin/)
 *  Thread Starter [editorsean](https://wordpress.org/support/users/editorsean/)
 * (@editorsean)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/compatibility-issue-with-rename-wp-loginphp-plugin/#post-4992307)
 * Just to update on this, I found the problem today when I went on our website 
   to check something and noticed every page outside of the homepage was showing
   a 404 error.
 * It turns out that when I tried enabling the Hide Backend feature, it wiped everything
   out of the .htaccess file apart from iThemes own code, so the default WordPress
   rewrite rules and various other rewrite I had were gone. Once I added these back
   from my last backup, the site worked fine.
 * I updated iThemes to 4.2.13 (from 4.2.6) and tried enabling the Hide Backend 
   feature again and this time it’s as intended, i.e. wp-admin.php now fails, but
   the new link works, so probably a bug in the earlier version. Pity I didn’t check
   the website (besides homepage), as it meant most of the website was offline for
   the 2 days.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Compatibility issue with Rename wp-login.php plugin](https://wordpress.org/support/topic/compatibility-issue-with-rename-wp-loginphp-plugin/)
 *  Thread Starter [editorsean](https://wordpress.org/support/users/editorsean/)
 * (@editorsean)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/compatibility-issue-with-rename-wp-loginphp-plugin/#post-4992096)
 * As I mentioned above, the 404 Detection does not work in iThemes Security when
   I use the Rename wp-login.php plugin.
 * The iThemes Security log had over 1000 pages of 404 errors due to a few brute
   force attacks over the weekend. If the 404 Detection worked, there should have
   been no more than 40 errors per attack as I have the 404 Detection configured
   for a lockout after 40 errors.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Compatibility issue with Rename wp-login.php plugin](https://wordpress.org/support/topic/compatibility-issue-with-rename-wp-loginphp-plugin/)
 *  Thread Starter [editorsean](https://wordpress.org/support/users/editorsean/)
 * (@editorsean)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/compatibility-issue-with-rename-wp-loginphp-plugin/#post-4992086)
 * Unfortunately it looks like the “Hide Login Area” feature is defective, at least
   on my site.
 * Not only did it present 404 errors for /wp-admin and /wp-login.php, it also gave
   a 404 error for the new URL it set up. The automated e-mail it sent me with the
   new link also gave a 404 error.
 * Thankfully I was still logged on one PC and disabled this feature, as I could
   not see any way of logging in.
 * The other plug-in I tried earlier (Rename wp-login.php) worked fine with the 
   new URL, but as I mentioned above, caused the issue with the 404 detection.

Viewing 6 replies - 1 through 6 (of 6 total)