Convert node id to full redirect url in drupal

Convert node id to full redirect url in drupal

$link=url(drupal_get_path_alias('node/nodeid', array('absolute' => TRUE));
echo $link;

In above code node/nodeid need to be something like node/1 or so.

Previous articleLine Delimited JSON (LDJ) protocol
Next articleDrupal Select Node by EntityFieldQuery by translate language
Author of four Opencart book. The recent are Opencart 4 developer book and Opencart 4 user manual

LEAVE A REPLY

Please enter your comment!
Please enter your name here