In this tutorial, you will learn how to simulate a custom CMS generator using the WP Ghost plugin in WordPress. This process helps to disguise your WordPress website by making it appear as a different CMS, such as Joomla or Drupal, or by using a custom generator name.
Set CMS Simulator in WP Ghost
- First, activate WP Ghost in Safe Mode or Ghost Mode.
- Click the Save button to apply the new paths.
- From Emulate CMS, under the Safe Mode button, select one of the pre-defined options, such as Joomla or Drupal, from the dropdown.
Add a Custom Generator Name
If you want to use a custom generator name, follow these steps:
- Open your WordPress theme folder.
- Locate the
functions.php
file inside your theme directory (e.g.,/wp-content/themes/your-theme/functions.php
). - Add the following code snippet at the end of the file:
add_filter('hmwp_emulate_cms', function(){
return 'Custom Generator';
});
- Replace
'Custom Generator'
with the name you want to display, e.g.,'Drupal'
or'MyCMS'
. - Save the file and upload it back to your server if necessary.