remyperona / wps-hide-login

WPS Hide Login
41 stars 19 forks source link

Problem with different Site and wordpress panel #31

Open symbwell opened 1 year ago

symbwell commented 1 year ago

Hi! I found a problem in case when the url of WP Admin is different than url of wordpress site. After login the plugin redirect user to 404 page.

How to reproduce?

  1. Go to the WP Admin Panel
  2. Go to Settings -> General
  3. Change Site Address (URL) to something else and save
  4. After login to wordpress admin panel the plugin redirect you to the before changed site address with 404 insted of /wp-admin/

What we expect The plugin should redirect user to /wp-admin/ in Wordpress Address (URL).