• Pricing
  • Help
  • My Account
  • Download
WP Ghost
  • Pricing
  • Help
  • My Account
  • Download

Customize hmwp_logged_in_admin and hmwp_logged_in_login

/Developers /Customize hmwp_logged_in_admin and hmwp_logged_in_login

Customize Cookie Names with WP Ghost

To customize the cookie name with WP Ghost, follow these steps:

  1. Open the wp-config.php file in your WordPress installation.
  1. Locate the line that mentions WP_DEBUG.
  2. Directly after this line, add the following code:
   define('HMWP_LOGGED_IN_COOKIE', 'my_logged_in_');

Here, ‘my_logged_in_’ is the prefix you desire for that cookie. You can replace it with any prefix you prefer.

  1. Save the wp-config.php file after making this change.
  2. Once saved, refresh the settings in WP Ghost and empty the session cookies to ensure that the changes take effect.

By following these steps, you can easily customize the cookie name according to your preference.

Tagged: hmwp_logged_in_adminhmwp_logged_in_logincustomize wp ghost cookiescookies

Related Articles

  • Stop Plugin Auto Update Check

  • Adding a Custom CMS Simulator

  • WP Ghost Constants in wp-config.php

  • Change Paths in Admin Dashboard

  • Add Files to “Hide WordPress Common Files”

  • Change or Remove Login Logo Link

WP Ghost - Best Practice

Learn how to set up WP Ghost in Ghost Mode and activate all the security features you need for a stronger and safer website.

Most Popular

  • Change and Hide wp-admin Path with WP Ghost
  • Setup WP Ghost on Nginx Server
  • WP Ghost Compatibility Plugins List
  • Set AllowOverride all on Apache Servers
  • Theme Not Loading Correctly and Website Loads Slower
  • Lesson 3 – Hide Your Site From Theme Detectors and Hackers Bots
  • Change admin-ajax.php Path with WP Ghost
  • Firewall and Security
  • Lesson 1 – Customize Paths with WP Ghost
  • How To Change File Permissions in WordPress
  • Change plugins Path with WP Ghost
  • Brute Force Attack Protection
  • WP Ghost Settings – Best Practice
  • Change REST API Path with WP Ghost
  • Change and Hide wp-login Path with WP Ghost
  • Change wp-content Path with WP Ghost
  • Redirects
  • Two-Factor Authentication
  • What is WP Ghost?
  • Brute Force Protection in Elementor Login Forms
  • Change wp-register Path with WP Ghost
  • Disable Right-Click and Keys
  • WP Ghost Compatibility Themes List
  • Change author Path and Hide ID with WP Ghost
  • Install WP Ghost Lite Plugin
  • Hide wp-admin And wp-login.php From Source Code
  • Temporary Logins
  • Events Log Report
  • Setup WP Ghost on Nginx Web Server With Virtual Private Server
  • WP Ghost – Advanced Pack

Recommended

  • What is WP Ghost?
  • Changelog
  • Plugin Best Practice
  • Plugin Compatibility
  • Theme Compatibility

Categories

  • Change Paths
  • Firewall
  • Temporary Login
  • Two Factor
  • Brute Force
  • Events Log

Company

  • Affiliate
  • Media Kit
  • Terms Of Use
  • Privacy Policy
  • Contact

Useful

  • Hack Attack Types
  • Key Security Features
  • Security Features
  • Free vs PRO
  • Why WP Ghost
  • Pricing
  • Facebook
  • YouTube
  • X
© WP Ghost 2016-2025