• Resolved dkonofalski

    (@dkonofalski)


    Is there a way to specify how Wordfence generates the URLs in the emails that it sends out (Wordfence activity email, for example)? I’ve renamed my admin directory so that bots don’t hit it over and over and renamed my login page. I also only link to the non-www version of my site. When I get the Wordfence emails, all the links are https://www.xsitenamex.com/wp-admin so they don’t work when you click them (it 404’s as intended). It would be nice if there was some way to set the admin URL in Wordfence so that the links are https://xsitenamex.com/siteadmin, for example.

    Is there a way to change this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    Actually, we just use the default “network_admin_url” function to get the admin dashboard URL which will fall back to “admin_url” function in case your website wasn’t set up as multisite.

    So, I think the answer to your question depends on the method/plugin you used to alter the wp-admin URL, hopefully this link should help.

    Thanks.

    Thread Starter dkonofalski

    (@dkonofalski)

    @wfalaa – This is an option with the way we’ve modified this but, as the whole point of WF is to be security-minded, we’ve intentionally used the network_admin_url function (and, by extension, admin_url) to go to a 404 unless there’s an appropriate key supplied. We have tons of blocked attempts where people try to use this function to find the login/admin pages. It would be nice if WF would be able to default to this but give you an option to put in a custom address also.

    Thanks for the link, though. I’ll try to figure out another solution on our end.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URLs and links in WordFence emails go nowhere’ is closed to new replies.