Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This little module enables you to find the destination url of a short url.
For example, if bit.ly/123 is a short url for youtube.com/12345678901234567890, you can do this:
<?php
$short_url = 'http://bit.ly/123';
$destination_url = destination_url($short_url);
?>
Now $destination_url's value will be http://youtube.com/12345678901234567890.
Project information
- Maintenance fixes only
Considered feature-complete by its maintainers. - 1 site reports using this module
- Created by bryanhirsch on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.