DEV Community

Discussion on: A Learning Path for Newbies in WordPress Development

Collapse
ihtishamzahoor profile image
Ihtisham Zahoor Author

Hi Leo,

In case you don't wanna dive into writing some PHP, here is a quick and easy solution for you.

Try "WPS Hide Login" to hide the wp-admin login from your site. You can find it's settings page in the dashboard at Settings > General. Under WPS Hide Login
the section at the bottom of the page. Good Luck!

Collapse
leo852 profile image
leo852

Thanks man, but what I need isn't changing the URL, since I've already changed the URL before, but it will still shows up " Not Available " when I go to /wp-admin without logging in. And I want to change that.

Thread Thread
ihtishamzahoor profile image
Ihtisham Zahoor Author

What you are looking for is already available (the second option under settings) in the WordPress plugin, which I mentioned in my previous comment.

All you have to do is to provide the redirect Filename in the Redirect URL option (image attached). You can use the standard 404 PHP file or create a custom PHP file and then provide its name (without PHP extension) in the Plugin settings.

thepracticaldev.s3.amazonaws.com/i...

I am sure, you have already figured that out by now : )