# Read pathname as a Variable

**URL:** <https://community.glideapps.com/t/read-pathname-as-a-variable/34809>\
**Category:** Ask for Help\
**Created:** [November 20, 2021, 11:40am UTC](https://community.glideapps.com/t/read-pathname-as-a-variable/34809 "2021-11-20T11:40:07Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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, 2:25pm UTC](https://community.glideapps.com/t/read-pathname-as-a-variable/34809/7 "2021-11-20T14:25:18Z")

</div>

Maybe this…

> [@Deep link and domain server redirect](https://community.glideapps.com/t/deep-link-and-domain-server-redirect/34243):
>
> Hi Gliders, I’m trying to have nice and short URLs for customers which directly leads them to their individual profile screen in the app. Through a rewrite rule in the .htaccess file on my subdomain [go.mydomain.com](http://go.mydomain.com) I want to redirect to the deep link URL and hence to the correct screen. If I’m using the deep link URL right in the browser it works and the correct screen is shown. If I’m redirecting this same URL through the server redirect, the browser first loads the correct URL but then the …

---

_[View the full topic](https://community.glideapps.com/t/read-pathname-as-a-variable/34809)._
