So 2 days ago I launched our city website here and tried checking for some vulnerabilities using an online wordpress vulnerabillity scanner based on WPScan and I got this result:
As you can see, the first one shows my installation directory and the name of my theme. The url given by the first one is http://tuguegaraocity.gov.ph/wp-content/themes/citygov/ which shoes the name of my theme also. Is there a way that I can hide this? Or any other good way to make it safer. Thank you!
This should work, Add this in your
wp-config.php
PHP
You can change the name of the theme to your own theme name or whatever name you like as per your wish.
Methods to follow to change up the theme Name
Ensure that while doing this your theme is under De-active mode.
Ex:
Before changing the theme name your URL looks like :
http://tuguegaraocity.gov.ph/wp-content/themes/citygov/
After changing it will be like
http://tuguegaraocity.gov.ph/wp-content/themes/yourname/
Like the above you will be finding the theme info in style.css and you can make the change over there.