Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL Change works but WP admin is redirecting to new URL instead of 404 #24

Open
ksai847 opened this issue Feb 15, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ksai847
Copy link

ksai847 commented Feb 15, 2021

Describe the bug

After changing the login URL using the WP hardening plugin URL change feature, the URL change works but strangely the wp-admin URL is redirecting the new URL instead of showing a 404 error.

To Reproduce

Steps to reproduce the behavior:

  1. Open the WP hardening plugin and go to "Security Fixers"
  2. Now add the URL slug into which you want to change instead of wp-admin and save it.
  3. Open the wp-admin URL and you'll see it redirecting a changed new URL without showing a 404.

Expected behavior

WP-admin must show a 404 page instead of showing the new URL login page.

Screenshots

URL change
wp-admin redirected to new URL instead of 404

Desktop (please complete the following information):

  • OS: <Windows 10>
  • Browser
  • Version <88.0.4324.150 (Official Build) (64-bit)>

Used versions

  • WordPress version: 5.6.1
  • WP Hardening version: 1.2
  • Tested with theme: Neve
@ksai847 ksai847 added the bug Something isn't working label Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant