Redirect admin url

  • Unknown's avatar

    Hi guys! I’m a newbie and have just learned WordPress for 5 weeks. Hope someone can help me solve my problem. I’m so thankful for that!
    I used many plugins to change the admin URL when guests type the URL: ‘…/admin’ or ‘…/login’ and ‘…/wp-admin’, my website will redirect to the 404 page I created by Elementor (that’s exactly what I want).
    But when guests type the URL: ‘…/wp-login.php’, the website redirects to the default 404 page (it’s so ugly, I don’t want it).
    How can I fix it? Some coder can give a function then I will paste it into my function.php?

    I don’t have a site linked to this WordPress.com account

  • Unknown's avatar

    Hi there, you’ve posted to the community support forums for WordPress.com, the hosting provider.

    It sounds like you need help with a site using the open source WordPress software. If so, head over to https://wordpress.org/support/ where you’ll find documentation and users who have more experience with the software you are using. If you don’t have a username on the ORG forums you can register one on the top of that page.

    You can read more about these differences at https://wordpress.com/support/com-vs-org/

  • The topic ‘Redirect admin url’ is closed to new replies.