Allows you to notify your viewers that they are being redirected to an external link
This module provides you with a page and the functionality to redirect viewers to user defined links to:
TL;DR Will convert "https://google.com" into "https://yourdomain.com/external-links?url=https://google.com"
composer install vulcandigital/silverstripe-securelinkparser
An extension is packaged with this module and gives you access to the $SecureUserDefinedLink
method from within any PageController
<a href='$SecureUserDefinedLink($CustomLink)'>$CustomLinkTitle</a>
or
$link = \Vulcan\SecureLinkParser\SecureLinkParser::getSecureLink($this->CustomLink);
The only configuration variable available is create_default_page
, which will create the redirection page automatically upon dev/build
Vulcan\SecureLinkParser\Pages\SecureLinkParserPage:
create_default_page: true
This is disabled by default, so you will need to create the page yourself anywhere in the site tree.
BSD 3-Clause © Vulcan Digital Ltd
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem