Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Why Do You Need an Alternative WordPress Login URL?

  • By Elvis Plesky
  • March 31, 2020
  • Various
5
Minutes

Everybody knows that they can access their WordPress site via (name_of_site_goes_here)/wp-login.php. This is great for your convenience, but it also opens the door to would-be attackers. Because if everybody knows how to do this, then so do the bad people.

Of course, they need to have figured out that you are using a WordPress site. But it isn’t exactly difficult to discover. Just right click on the page in any browser and choose “view source”. Hit Ctrl+F to do a text search and type in “wp-content”. If you get any hits, then it’s definitely a WordPress site.

So, next they will try the usual login URL, then cross their fingers and type in “admin” as the username. Because it’s the one that WordPress creates by default, and some people don’t ever bother to change theirs. If “admin” gets them in, then the last hurdle is the password. And hopefully you’re someone who makes it difficult for the bad guys by using a password manager. So they can’t surreptitiously record which keys you hit.

Now, a password is a pretty big hurdle to get over. So it’s most likely going to be the one that finally trips up our Hacker. Hooray! Your site is safe from the forces of darkness – but that doesn’t mean that your troubles are over.

Determined Hackers might carry on trying to get into your site with a million and one different password combinations. But even though they don’t stumble on the right one, they can still overtax your server’s precious CPU cycles. To the point where your site keels over.

Are you now a nervous wreck? It’s OK – We wouldn’t reduce you to that state if there wasn’t a simple way to get you out of it.

Change WordPress Login URL

Change WordPress Login URL with Better WP Security Plugin

With this plug-in, you will be able to change:

  • /wp-login.php to /login/
  • /wp-admin/ to /admin/
  • /wp-login.php?action=register to /register/

Compatibility might give you some trouble. Get yourself familiar with all of the Better WP Security options before you change any settings. If you have an odd set up and aren’t sure if this plugin might affect it adversely then chat to your developer or web host about it before you proceed.

For safety’s sake it’s best to change every single one of your login URLs, which includes the ones you use to login, register and manage your site. Here’s how:

Step 1: Perform a Complete Backup

Use the power of WP Toolkit to back everything up (not just the database). Check that it’s done, and you’ve saved it where you want before moving on to step two.

Step 2: Install and Activate

Install the plugin. Activate it. Done.

Step 3: How to Set it up

Once installed, follow these steps:

  • Open the plugin’s wp-admin options page.
  • Follow the first 3 setup steps as shown in the screenshots below.
  • Let the plugin change WordPress’s core files (taking note of the warning before you do).
  • Click the “Secure My Site from Basic Attacks” button.
  • Click the “Hide” tab
  • Check the “Enable Hide Backend” box
  • Enter your desired login, register, and admin slugs or leave them at the plugin’s defaults of “login”, “register”, and “admin”.
  • Click “Save Changes”.

How the Better WP Security Plugin Changes the Login URL

So how does it work? The secret sauce is in the .htaccess file. The plugin adds around 30 lines to the beginning of your main WordPress .htaccess file. That’s all it takes to change the login URLs. Note that both the wp-login.php file and the wp-config.php file are not modified, moved, or renamed. No prior knowledge of .htaccess is necessary to use the Better WP Security plugin.

If you haven’t changed your WordPress Login URL already, consider changing it as soon as possible… before it’s too late!

Tweet
Share
Share
Email
0 Shares
Picture of Elvis Plesky

Elvis Plesky

Our fun and curious team mascot's always plugged into the latest trends. He's here to share his knowledge and help you solve your tech problems.

One comment

  1. Erica S Terner
    Erica S Terner
    May 22, 2020 / 11:32 am # Link Reply

    Well, this is nice information! Thanks for sharing this as it would help many users to know about important information about WordPress. Knowing about this, we are looking forward to implementing things accordingly.

Add a CommentCancel Reply

Your email address will not be published. Required fields are marked *

More results...

Generic filters
Exact matches only
Search in title
Search in content
Search in excerpt

GET LATEST NEWS AND TIPS

  • Yes, please, I agree to receiving my personal Plesk Newsletter! WebPros International GmbH and other WebPros group companies may store and process the data I provide for the purpose of delivering the newsletter according to the WebPros Privacy Policy. In order to tailor its offerings to me, Plesk may further use additional information like usage and behavior data (Profiling). I can unsubscribe from the newsletter at any time by sending an email to [email protected] or use the unsubscribe link in any of the newsletters.

  • This field is hidden when viewing the form
  • This field is hidden when viewing the form
  • This field is hidden when viewing the form
  • This field is hidden when viewing the form
  • This field is hidden when viewing the form
  • This field is hidden when viewing the form

Related Posts

Plesk Obsidian 18.0.62 is now available

Read More »

Plesk Obsidian 18.0.61 Release

Read More »

Securing the WordPress Frontier with WP Guardian

Read More »

Knowledge Base

Event Parameters Passed by Event Handlers – WordPress registered

Read More »

Event Parameters Passed by Event Handlers – WordPress installed

Read More »

Event Parameters Passed by Event Handlers – WordPress uninstalled

Read More »

WP Toolkit – Setting up a Regular Run of wp-cron.php

Read More »

WP Toolkit – Maintenance Mode

Read More »
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family