Can we add external links to 404 redirection in mask login

0

I have tried to add a youtube video link in my 404 redirection in mask login settings but it shows “the url is invalid”. If this is not possible please add this as a feature quest.

  • Ash
    • Code Norris

    Hello RaBaLuPe

    Yes, you can’t add external link, the redirect link has to be an internal link.

    But as suggested, this could be a nice feature though I am not aware of any technical difficulties but I am marking this as a feature request so that other members can share their thoughts on this.

    Have a nice day!

    Cheers,

    Ash

  • Tony G
    • Mr. LetsFixTheWorld

    :ballot_box_with_check: You got my vote on this.

    I just stumbled on this myself. Since my site itself is linking to a Defender-specified custom login URL, the only “guest” that would use the default would be a bot. I don’t want bots redirected to my site. I want them redirected off-site.

    So … I just created a work-around.

    1) Install the awesome Redirection plugin.

    2) Create a new Page named “Go Away”, slug go-away, content “go away”. Publish the page.

    3) Set the Defender Mask Login with a Redirection URL = “go-away”. Save it. It will save.

    4) Move the Go Away page to the Trash.

    5) Under Tools>Redirection, create a new 301 redirect, source = “/go-away”. The target is up to you. Use any site and page on the internet.

    For #5, I want to mess up bots any way I can. An infinite redirect would be nice, but I don’t want that bouncing from my site, and I don’t want to do that against anyone else’s site either. However! I found a site that intentionally does this! For a little fun you can visit (in a different browser tab!) http://www.heeeeeeeey.com/, which redirects you to https://hooooooooo.com/, which redirects you back …

    You can also send them to http://www.patience-is-a-virtue.org/. If the bot processes scripts this will keep them busy for a while. For our purposes, it’s safe to visit that page – just view the source to see what it does.

    Or … if the goal of bots and those who write them is to scrape the entire internet, then this is the page for them http://www.hmpg.net/ (it’s safe :wink:slight_smile:

    But really now … it would be better if Defender at least had a toggle to accept whatever we enter here.

    Have fun!