Hi everyone,

Is there a way to create a node that, when opened, automatically 'redirects' the user to another link? I am looking for something programmatic, not a one-off hack through .htaccess. E.g. I am looking probably to create a new Content Type (called "Link", for instance), that, when I access that node, automatically sends me to another node.

I'd love for this to work with JavaScript off, but if there is no other way, than so be it.

Thanks,
Jason

Comments

ricabrantes’s picture

Any Activity?? issue active??

Stefan Nagtegaal’s picture

Status: Active » Fixed

Make use of the PHP input type and use the following snippet:

drupal_goto("path/to/file");

That's all...

Fixed...

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.