# DEEP LINK is a must!

**URL:** <https://community.glideapps.com/t/deep-link-is-a-must/34818>\
**Category:** Feature Requests\
**Created:** [November 20, 2021, 4:27pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818 "2021-11-20T16:27:09Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![arosauro](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@arosauro](https://community.glideapps.com/u/arosauro)\
**Post date:** [November 20, 2021, 4:27pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/1 "2021-11-20T16:27:09Z")

</div>

So many uses… so many flexibility…  
Tks.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/a/4a89fc764602d726c0970f7a8dcd9a8a782cd1f4.jpeg)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [November 20, 2021, 4:48pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/2 "2021-11-20T16:48:07Z")

</div>

Deep linking already exists…  
[🆕 Deep Links](https://community.glideapps.com/t/deep-links/15966)

---

<div class="post-metadata">

**Author:** ![arosauro](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@arosauro](https://community.glideapps.com/u/arosauro)\
**Post date:** [November 20, 2021, 5:42pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/3 "2021-11-20T17:42:37Z")

</div>

Robert,

Can I solve that?

> [@Read pathname as a Variable](https://community.glideapps.com/t/read-pathname-as-a-variable/34809/11):
>
> Many uses for a functionality like that… [https://myglideapp.com/](https://myglideapp.com/) menu.restaurant\_1 [https://myglideapp.com/](https://myglideapp.com/) menu.restaurant\_2 Any workarround?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 20, 2021, 5:57pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/4 "2021-11-20T17:57:34Z")

</div>

Did you look at the [post](https://community.glideapps.com/t/deep-link-and-domain-server-redirect/34243) that I linked to?

---

<div class="post-metadata">

**Author:** ![arosauro](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@arosauro](https://community.glideapps.com/u/arosauro)\
**Post date:** [November 20, 2021, 6:02pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/5 "2021-11-20T18:02:39Z")

</div>

Hi Darren,  
I misunderstood the solution…

1. How do you have acess to .htacess since it is deployed inside Glide?
2. How do glide read the pathname so that it can use as a variable…

Sorry, my knowledge does not go as far as yours… :))

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 20, 2021, 6:06pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/6 "2021-11-20T18:06:22Z")

</div>

The solution offered there involves setting up redirects via your own webserver. Note that it’s not my solution, and I’ve never tried it myself.

---

<div class="post-metadata">

**Author:** ![christoph](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christoph/32/22794_2.png) [@christoph](https://community.glideapps.com/u/christoph)\
**Post date:** [November 20, 2021, 6:37pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/7 "2021-11-20T18:37:47Z")

</div>

Hi @arosauro,  
if you do have a custom domain for your Glide app, you most likely have access to the .htaccess file of a subdomain.  
I’m using this solution to have links like you were asking in the first place.

My situation: I’m using [app.mydomain.com](http://app.mydomain.com) for the Glide app, [www.mydomain.com](http://www.mydomain.com) for the landing page, and [go.mydomain.com/customername](http://go.mydomain.com/customername) as direkt link the bring customers to the right screen ‘behind’ the default welcome page, as you describe it.

Sure, in in this simple workaround you have to manually change the .htaccess file. So it depends on the number of customers. The next advanced solution would probably be a node server which redirects dynamically.

I’m also using the [go.mydomain.com/customername](http://go.mydomain.com/customername) links in facebook posts and ads, but there, you have to strip the query string which facebook ads to the link, by a special parameter in the htaccess file.

---

<div class="post-metadata">

**Author:** ![arosauro](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@arosauro](https://community.glideapps.com/u/arosauro)\
**Post date:** [November 20, 2021, 6:42pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/8 "2021-11-20T18:42:53Z")

</div>

> [@christoph](#):
>
> in this simple workaround you have to manually change the .htaccess file. So it depends on the number of customers. The next advanced solution would probably be a node server which redirects dynamically.

Great !  
A final question…  
How do you read the path and insert as a variable in Glide?

I Think you gave me a nice solution, tks in advance!

---

<div class="post-metadata">

**Author:** ![christoph](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christoph/32/22794_2.png) [@christoph](https://community.glideapps.com/u/christoph)\
**Post date:** [November 20, 2021, 6:57pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/9 "2021-11-20T18:57:28Z")

</div>

For the time being, I’m not inserting any variable in Glide.  
It’s the other way round: you get the deep link by copying the URL of the details screen in the “app mode” (not builder) and put it in the redirect statement of your htaccess file. Better, you have a button on that screen for an Admin user with an action to write the link to your google sheet, then take it from there.  
If you want, post your htaccess file and I’ll have a look at it.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 20, 2021, 7:02pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/10 "2021-11-20T19:02:25Z")

</div>

This might be useful.

> [@Dygi.me — My first ever SaaS built with Glide](https://community.glideapps.com/t/dygi-me-my-first-ever-saas-built-with-glide/34754/29):
>
> You noticed! It also doubles as a “link” icon to show an “identity link” wink Zapier to [short.io](http://short.io). I pay for [short.io](http://short.io) and [dygi.me](http://dygi.me) domain

---

<div class="post-metadata">

**Author:** ![arosauro](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@arosauro](https://community.glideapps.com/u/arosauro)\
**Post date:** [November 20, 2021, 9:24pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/11 "2021-11-20T21:24:27Z")

</div>

I’ve found a solution here…  
Not as clean as expected… but works…  
Tks for all.

> [@Read pathname as a Variable](https://community.glideapps.com/t/read-pathname-as-a-variable/34809):
>
> Hi there, I’d like to use the pathname as a variable in my app For instance.: [https://myglideapp.com/](https://myglideapp.com/)option-1 [https://myglideapp.com/](https://myglideapp.com/)option-2 We have two options here.: /option-1 /option-2 So that, when I send the link to a customer, my app opens with the “selected” option. Is it possible? Any Idea? Tks, Augusto.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [November 21, 2021, 9:25pm UTC](https://community.glideapps.com/t/deep-link-is-a-must/34818/12 "2021-11-21T21:25:23Z")

</div>

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