# How to add a custom url text link on the login page

**URL:** https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030
**Category:** Support
**Created:** [February 22, 2022, 6:28am UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030 "2022-02-22T06:28:21Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![guoxing](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@guoxing](https://meta.discourse.org/u/guoxing)
#### Post date: [February 22, 2022, 6:28am UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/1 "2022-02-22T06:28:21Z")

</div>

hello everyone，I want to know how to add a custom url text link on the login page，Could you help me?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 22, 2022, 10:38am UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/2 "2022-02-22T10:38:29Z")

</div>

Here are some places to start: [Developer’s guide to Discourse Themes](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648), [Theme Developer Quick Reference Guide](https://meta.discourse.org/t/theme-developer-quick-reference-guide/110448), [Adding to plugin-outlets using a theme](https://meta.discourse.org/t/adding-to-plugin-outlets-using-a-theme/32727).

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [February 22, 2022, 10:46am UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/3 "2022-02-22T10:46:59Z")

</div>

In addition to what Jay shared, adding a link to the login page requires some advanced web dev skills as you’d need to add/edit plugin outlets via a theme. The links Jay shared explained the concepts and give some examples on how to do this. Once you go through them, can you come back if you have some more questions?

Also, if you have a visual mockup of what you want to do, someone may just have the code or the theme component you need.

---

<div class="post-metadata">

### Author: ![guoxing](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@guoxing](https://meta.discourse.org/u/guoxing)
#### Post date: [February 22, 2022, 10:59am UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/4 "2022-02-22T10:59:35Z")

</div>

I’ve read the guide  
I already know where to customize the code  
I want to know the simplest code that can go straight to the target

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/f/ff030cfbcabc075be279384fb611413b61968333.png)  
For example, add an external URL button link next to the log in button  
Or Modify ’create your account‘ links to external websites  
 ![image](https://global.discourse-cdn.com/meta/original/3X/7/3/738e0ae442817705d20b07b7f8f7ea16d2162c14.png)

---

<div class="post-metadata">

### Author: ![guoxing](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@guoxing](https://meta.discourse.org/u/guoxing)
#### Post date: [February 22, 2022, 11:03am UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/5 "2022-02-22T11:03:19Z")

</div>

For example, add a link button next to the log in button by adding a code similar to the following

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/2/72f38216a641a05babaf5716737d5a42f899ec03.png)

---

<div class="post-metadata">

### Author: ![guoxing](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@guoxing](https://meta.discourse.org/u/guoxing)
#### Post date: [February 22, 2022, 12:23pm UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/7 "2022-02-22T12:23:27Z")

</div>

I’m happy to pay close attention to and support Discourse  
By adding some simple code，I want to modify ’create your account‘ button’s url links to external websites, Can you help me？

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/e/0e8a43721d9beec4951cf57255e73b7603d11c7d.png)

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [February 22, 2022, 12:36pm UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/8 "2022-02-22T12:36:39Z")

</div>

I see you’ve re-asked this question in a different topic: [Modify the URL of 'create your account' button to an external site](https://meta.discourse.org/t/modify-the-url-of-create-your-account-button-to-an-external-site/219052) so I’ll go ahead to close this one.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 22, 2022, 1:17pm UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/9 "2022-02-22T13:17:39Z")

</div>

> [@guoxing](#):
>
> the log in button  
> Or Modify ’create your account‘ links to external websites

Maybe what your really want is to use [DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045)?

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [February 22, 2022, 1:37pm UTC](https://meta.discourse.org/t/how-to-add-a-custom-url-text-link-on-the-login-page/219030/10 "2022-02-22T13:37:54Z")

</div>

This topic was automatically closed after 61 minutes. New replies are no longer allowed.
