Via the Webs

WordPress Login Redirect

How to Use
Download > Install > Activate. To edit, use your favorite IDE or just edit within the WordPress plugin editor. Change the page to redirect to where indicated.

Example
I’ve edited my installation of this plugin to read: return '/wp-admin/edit.php?post_type=dlm_download&page=download-monitor-reports'; so when I login, I’m immediately taken to where I’d look to see how many downloads each plugin received.

Source
This code can be pasted into the functions.php file of your child theme or, download and install the plugin for simple code activation.

/*
Plugin Name: Lightweight Plugins - WordPress Login Redirect
Plugin URI: https://lightweightplugins.com/plugin/wordpress-login-redirect
Description: When logging into WordPress, this defines where to redirect to instead of the default dashboard.
Version: 1.3
Author: WP Maintenance Experts
Author URI: https://wpmaintenanceexperts.com/
License: GPLv2 or later
*/

function admin_default_page() {
    return '/'; // Enter the page to redirect to here.
  }
add_filter('login_redirect', 'admin_default_page');

Plugins Articles

Disable XML-RPC

Disabling XML-RPC in WordPress can be beneficial for several reasons: Security Concerns: XML-RPC has been targeted by attackers in various types of malicious activities: Brute Force Attacks: Attackers can use XML-RPC to amplify their brute force attacks. Instead of...

read more

MS Clarity Exclude Logged In Users

How to Use Download > Install > Activate. Use your favorite IDE or just edit within the WordPress plugin editor. Change "xxxxxxxxxx" to be your Clarity ID. Not associated with Microsoft® Clarity® Example This prevented me from recording all my logged in back-end...

read more

Add to Console Log

How to Use Download > Install > Activate. Use your favorite IDE or just edit within the WordPress plugin editor. Change the message to suit your needs. Example A fun project plugin. Thought of this after discovering a software company had a message about their open...

read more

Most Recent Articles