“Lost password” page triggers 404

Your theme or plugins are most likely modifying the “Lost password” link on your wp-login.php via the lostpassword_url filter. How do I reset the “change password” page to the WP default one? One would need to remove those filters callbacks. Here’s one (untested) suggestion: add_filter( ‘lostpassword_url’, function( $url, $redirect ) { remove_all_filters( ‘lostpassword_url’ ); return … Read more

Redirect feed to 404 page

There are three simple steps to get what you want: Hook into ‘template_redirect’ to act before the feed is displayed. If it is a feed send a 404 status header and load the 404 template. Here is a simple plugin that does it: <?php # -*- coding: utf-8 -*- /** * Plugin Name: T5 404 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)