• Home
  • Pricing
  • Features
  • Help
  • My Account
  • Download
WP Ghost
  • Home
  • Pricing
  • Features
  • 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.

99% Fewer Hacker Attacks

What WP Ghost does differently, and how you can protect your site in a few clicks, without understanding all the jargon.

Most Popular

  • Change admin-ajax.php Path with WP Ghost
  • WP Ghost Compatibility Plugins List
  • Change and Hide wp-admin Path with WP Ghost
  • Lesson 3 – Hide Your Site From Theme Detectors and Hackers Bots
  • Setup WP Ghost on Nginx Server
  • Theme Not Loading Correctly and Website Loads Slower
  • Install WP Ghost Free Plugin
  • Change Paths in Admin Dashboard
  • Set AllowOverride all on Apache Servers
  • Lesson 1 – Customize Paths with WP Ghost
  • WP Ghost Settings – Best Practice
  • What is WP Ghost?
  • How To Change File Permissions in WordPress
  • Firewall and Security
  • Website Security Check
  • How to Activate WordPress Debugging
  • Change plugins Path with WP Ghost
  • WP Ghost Compatibility Themes List
  • Brute Force Attack Protection
  • Changelog
  • Two-Factor Authentication
  • Change REST API Path with WP Ghost
  • Redirects
  • Change Paths In Cached Files
  • Change and Hide wp-login Path with WP Ghost
  • Brute Force Protection in Elementor Login Forms
  • Hide wp-admin And wp-login.php From Source Code
  • Change wp-content Path with WP Ghost
  • Disable Right-Click and Keys
  • Change wp-register Path with WP Ghost

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-2026 | Powered by AISQ | Squirrly