Also, should it be logging a ‘Captured 404’ for something I’ve already created a redirect for in the past? Shown here: http://imgur.com/a/kL9KK
I hope I’m not bothering you too much! 🙂 Thanks mate.
EDIT: I noticed there was a difference (trailing slash/ on one url), fixed.
-
This reply was modified 7 years, 10 months ago by
ozzymuppet.
Plugin Author
Aaron
(@aaron13100)
Hey ozzymuppet! Thanks for the suggestion.
It sounds like ignoring requests from the host itself would solve all of your problems (please confirm). What does this look like in the logs? 127.0.0.1? ::1? localhost? Can you include a log line so I can see what it looks like?
thanks!
Argh, the IP address I was looking at was’nt my host, the last 3 digits were different.
Looking closer the IP I need to block is my client machine which updates the website.
So I guess the general solution would be an option of entering IP addresses to ignore. This would also be very handy for ignoring the flood of Google/Yahoo/MSN checking old non-existant URLs.
Plugin Author
Aaron
(@aaron13100)
How about ignoring a list of user agents then? IP addresses seems rather clunky as IP addresses will change. The most popular bots could be added by default (listed here https://www.keycdn.com/blog/web-crawlers/).
For your own scripts it would mean you’d have to set the user agent (ozzymuppetbot?).
Yes! That sounds perfect. Let me know if you need any help testing.
Plugin Author
Aaron
(@aaron13100)
Hey ozzymuppet. A beta version 1.8 is available at https://wordpress.org/plugins/404-solution/advanced/ (then scroll down, click download, then upload it to wordpress manually through “plugins” -> “add new” -> “upload plugin”).
Otherwise I’ll probably release it officially in a little while. I like to leave the new releases running on my own site for a while before I release them to everyone. If you try it out let me know how it goes.
thanks
Done. Thank you sir, I’ll let you know if I see any issues (of course!) 🙂
Minor: version in plugins screen still says “Version 1.7.4”, but correct 1.8.0 elsewhere.
I love the options you’ve added, good stuff.