Menu
Base64
Search
Explore
  • Hire me
Search
Base64

Base64
  • Hire me

Recent Posts

  • Add Google Tag Manager code to WHMCS
  • IPSet hash is full csf
  • Javascript split string based on first occurrence of a character
  • How to update DNS TTL for all domains in WHM
  • How to format drive to ext4 and mount
  • twitter
  • facebook
  • instagram
  • TikTok
  • odnoklassniki
  • discord
  • Posted in
    • General

Change WordPress wp-login.php url without plugin

  • Posted byby Curt Sahd
  • 2 years ago
  • 0 Comments

There are so many confusing guides online to achieve something quite simple: change the login url from wp-login.php to something different so as to prevent automated attempts to brute force your login details.

Duplicate the wp-login.php file and name it your-custom-login.php
Find and replace all references of wp-login.php with your-custom-login.php in your-custom-login.php file
Remove wp-login.php from your public_html directory

You will now be able to login at https://yoursite.com/your-custom-login.php. This however, does not prevent someone from visiting https://yoursite.com/wp-admin which will redirect to https://yoursite.com/your-custom-login.php. To redirect /wp-admin to your homepage, follow this guide.

  • share
  • change
  • plugin
  • url
  • without
  • wordpress
  • wp-login.php

Post navigation

previous post

How to enable/disable CageFS for user in CloudLinux

next post

Wordpress - redirect wp-admin to your homepage without plugin

You may also like

  • Posted in
    • General

How to remove “Powered by WordPress”

  • Posted byby Curt Sahd
  • December 30, 2021
  • 1 min
  • 0 Comments
  • Posted in
    • General

Change CXS scan to automatically change folder permissions from 777 to 755

  • Posted byby Curt Sahd
  • March 29, 2022
  • 1 min
  • 0 Comments
  • Posted in
    • General

Add WP_MEMORY_LIMIT to all WordPress installations cPanel

  • Posted byby Curt Sahd
  • March 29, 2022
  • 1 min
  • 0 Comments
  • Posted in
    • General

Change/update hostname Ubuntu

  • Posted byby Curt Sahd
  • December 28, 2021
  • 1 min
  • 0 Comments

Top Picks

  1. Add Google Tag Manager code to WHMCS
    • Posted Curt Sahd
    • 2 months ago
  2. IPSet hash is full csf
    • Posted Curt Sahd
    • 6 months ago
  3. Javascript split string based on first occurrence of a character
    • Posted Curt Sahd
    • 7 months ago
  4. How to update DNS TTL for all domains in WHM
    • Posted Curt Sahd
    • 7 months ago
    • Postedin
      • General
    Installing flash 64bit in Ubuntu linux
    • 2 years ago
    • 1 min
    • Postedin
      • General
    Symlinks on Ubuntu => The easy way
    • 2 years ago
    • 1 min
    • Postedin
      • General
    Skype for Nokia/Symbian S60
    • 2 years ago
    • 1 min

General (728)

User Favourites

  1. Add Google Tag Manager code to WHMCS
    • Posted Curt Sahd
    • 2 months ago
  2. IPSet hash is full csf
    • Posted Curt Sahd
    • 6 months ago
  3. Javascript split string based on first occurrence of a character
    • Posted Curt Sahd
    • 7 months ago

Popular

  1. Add Google Tag Manager code to WHMCS
    • 2 months ago
    • 0 Comments
  2. IPSet hash is full csf
    • 6 months ago
    • 0 Comments
  3. Javascript split string based on first occurrence of a character
    • 7 months ago
    • 0 Comments

Short Reads

  • Install Maven on Ubuntu 14.04
    • Postedby Curt Sahd
    • 1 min
  • ClickHandler for AnchorElement in GWT
    • Postedby Curt Sahd
    • 1 min
  • Improve battery life/performance on Ubuntu with TLP
    • Postedby Curt Sahd
    • 1 min

Stay in the loop

    • Hire me