# Go to an html page with a node

**URL:** <https://discourse.nodered.org/t/go-to-an-html-page-with-a-node/51449>\
**Category:** Dashboard\
**Created:** [23 September 2021 18:46 UTC](https://discourse.nodered.org/t/go-to-an-html-page-with-a-node/51449 "2021-09-23T18:46:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerome](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jerome](https://discourse.nodered.org/u/jerome)\
**Post date:** [23 September 2021 18:46 UTC](https://discourse.nodered.org/t/go-to-an-html-page-with-a-node/51449/1 "2021-09-23T18:46:35Z")

</div>

hello I use a users loging and I want this one after being valid to send me back to the dashbord, I can't find a way to do it can you help me?

---

<div class="post-metadata">

**Author:** ![jaap](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@jaap](https://discourse.nodered.org/u/jaap)\
**Post date:** [24 September 2021 15:04 UTC](https://discourse.nodered.org/t/go-to-an-html-page-with-a-node/51449/2 "2021-09-24T15:04:58Z")

</div>

you can use the next flow to do it

```auto
[
    {
        "id": "0bc27eea38bcff77",
        "type": "change",
        "z": "516351e4ada589ba",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "url",
                "pt": "msg",
                "to": "https://www.xxxxx.nl",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1130,
        "y": 180,
        "wires": [
            [
                "f4d2d33726516220"
            ]
        ]
    },
    {
        "id": "f4d2d33726516220",
        "type": "function",
        "z": "516351e4ada589ba",
        "name": "Format Payload for notification node",
        "func": "msg.payload = '<!DOCTYPE html><html><head><title>Redirect url to node-red forum</title></head><body>'+\"U wordt doorgestuurd\"+'<script>var url= \"'+msg.url+'\"; window.location = url; </script></body></html>';\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1370,
        "y": 180,
        "wires": [
            [
                "dd715df23483c35a"
            ]
        ]
    },
    {
        "id": "dd715df23483c35a",
        "type": "ui_toast",
        "z": "516351e4ada589ba",
        "position": "top right",
        "displayTime": "0",
        "highlight": "",
        "sendall": false,
        "outputs": 0,
        "ok": "OK",
        "cancel": "",
        "raw": true,
        "topic": "Redirect",
        "name": "",
        "x": 1650,
        "y": 180,
        "wires": []
    }
]

```

---

<div class="post-metadata">

**Author:** ![jerome](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jerome](https://discourse.nodered.org/u/jerome)\
**Post date:** [25 September 2021 19:42 UTC](https://discourse.nodered.org/t/go-to-an-html-page-with-a-node/51449/3 "2021-09-25T19:42:07Z")

</div>

thank you jaab it works by replacing the notification node with the http output node.  
super

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 October 2021 19:42 UTC](https://discourse.nodered.org/t/go-to-an-html-page-with-a-node/51449/4 "2021-10-25T19:42:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
