# Redirect With URL Parameters

**URL:** <https://forum.ghost.org/t/redirect-with-url-parameters/14802>\
**Category:** Developer help\
**Created:** [June 1, 2020, 9:33am UTC](https://forum.ghost.org/t/redirect-with-url-parameters/14802 "2020-06-01T09:33:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remon](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/remon/32/8203_2.png) [@Remon](https://forum.ghost.org/u/Remon)\
**Post date:** [June 1, 2020, 9:33am UTC](https://forum.ghost.org/t/redirect-with-url-parameters/14802/1 "2020-06-01T09:33:02Z")

</div>

How can I use the redirects.json if I am going to redirect to an external website with URL parameters.

**Example** : `/go/affiliate-name/` will redirect to `https://website.com?key=value`

**My redirects.json entry is:**

```
[{
  "from": "/go/affiliate-name" ,
  "to": "https://www.website.com?id=123abc",
  "permanent": true
}]
```

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [June 2, 2020, 1:00pm UTC](https://forum.ghost.org/t/redirect-with-url-parameters/14802/2 "2020-06-02T13:00:08Z")

</div>

Hey @Remon 👋

Are you saying that the example code you’ve added doesn’t work? What are you seeing when you add this to your redirects?
