• anjanap

    (@anjanap)


    How can I redirect to 404 error page when someone logs in to the admin with incorrect admin url.
    example.com/addedtext/wp-admin
    instead of example.com/wp-admin

    I’ve a multisite setup and example.com/addedtext/wp-admin shows the dashboard same as that of example.com/wp-admin when logged in.

    Need to throw 404 error if example.com/addedtext/wp-admin.

The topic ‘throw 404 error for random admin url’ is closed to new replies.