This plugin allows the addition of a custom header to the generated URL, enabling compliance with specific regulatory requirements in certain countries, such as India, for bulk SMS services.
To add a custom header as a prefix to the generated short URL, pass the custom_header
as a query parameter.
If the keyword is test
and the custom_header
is SMS/
, the generated URL will look like this:
If the keyword is not provided and the custom_header
is SMS/
, the generated URL will look like this:
www.example.com/SMS/random_generated_keyword
- Add the plugin to your YOURLS setup and activate it.
- Configure the
custom_header
parameter as needed in your URL generation process. - Use the generated short URL with the custom header as a prefix.