specifically with Worpress 6.3.1?
]]>Activating the plugin gives deprecated function used warning messages.
]]>Is this possible? I’m trying to add 2 emails, delimited by commas, and when I hit save, the field becomes empty.
]]>L.S.
I’m getting the following message:
PHP Warning: mysql_real_escape_string(): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /……../wp-content/plugins/404-notifier/404-notifier.php on line 146
Can you verify you first connect to de DB? .. More info on: https://bit.ly/1yEF8h6
Hope it helps .. and thanx ??
Regards,
Gerard.
]]>Im using this plugin on 2 sites and im getting some weird results. I understand this plugin is made to detect 404`s ( dead links) but in addition to links for old stuff i also get reports to my mail of links such as these :
this is a link to a fresh page but the end of the link is not even a part of a url i ever created ..
What is this …”/text/javascript”
Or this https://www.greenfutureconstruction.com/wp-content/themes/travelify-child-01/skins/images/bg_white.png ( why should this show as a 404??)
Thanks for any advice on this
]]>In the headers sent by this plugin there is “Date: ” missing. I had to modify it:
function mail_404() {
if (!empty($this->mailto) && $this->mail_enabled) {
$to = $this->mailto;
$subject = ‘404: ‘.$this->url_404;
$message = ‘404 Report – a file not found error was registered on your site.’.”\n\n”
.’404 URL: ‘.$this->url_404.”\n\n”
.’Referred by: ‘.$this->url_refer.”\n\n”
.’User Agent: ‘.$this->user_agent.”\n\n”;
$headers = ‘From: ‘.$this->mailto . “\r\n”
.’Reply-To: ‘.$this->mailto . “\r\n”
.’Date: ‘ . date(“r”) . “\r\n” <—- HERE
.’X-Mailer: PHP/’ . phpversion();
mail($to, $subject, $message, $headers);
The other issue is that this plugin justs uses php plain mail function instead of wp_mail. This makes this plugin incompatible with any SMTP plugin and unusable on systems where php mail doesn’t work.
]]>I see an earlier post about this from a couple of years back. We have a number of pages that are 301 redirected and work. When I click the links in the RSS feed of the 404 notifier, they work and go to the correct place. There are also some that do not work, which is good as I want to catch those. Is there a way to exclude the errors that are being generated because they are redirected? I saw a link to a post that apparently had some kind of workaround but that page is no longer available. Great plugin and thanks for the hard work on it.
]]>The plugin uses the same email address you enter in the plugin settings in both To: and From: fields of the notification emails. However, since the email didn’t originate from the receiving server, they would consider it email spoofing and your email notifications will not be delivered.
It would be best if the plugin used an email address like [email protected] where example.com is where the plugin is installed and where the email is actually originating from.
To work this around, you can use an email account with your own domain hosted on the same host. Since the originating domain will actually be the domain sending the email your emails will be delivered.
]]>I’m getting error noticies for pages that are correctly resolving or redirected to another page. For example, https://www.scottsemple.com/blog is generating an error but it correctly redirects to the root.
How can I stop the error message?
]]>Sorry, wrong plugin.
]]>