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

LEAVE A REPLY

Please enter your comment!
Please enter your name here