# Deeplinking and tabs

**URL:** <https://forum.ionicframework.com/t/deeplinking-and-tabs/114057>\
**Category:** ionic-v3\
**Created:** [December 1, 2017, 1:52pm UTC](https://forum.ionicframework.com/t/deeplinking-and-tabs/114057 "2017-12-01T13:52:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahnuh](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mahnuh/32/115523_2.png) [@mahnuh](https://forum.ionicframework.com/u/mahnuh)\
**Post date:** [December 1, 2017, 1:52pm UTC](https://forum.ionicframework.com/t/deeplinking-and-tabs/114057/1 "2017-12-01T13:52:46Z")

</div>

Hi,

I am playing around with deeplinking in a tabs based Ionic 3 app. As you can see in the following video the URL changes are working fine when switching tabs and I also can open an URL and the app will be loaded, the corresponding tab selected: [http://sharedby.manuel-heidrich.com/85k9GB/5adv9PXF](http://sharedby.manuel-heidrich.com/85k9GB/5adv9PXF)

What’s not working is navigating to another page within for example the contact tab and then refreshing the page, as you can see in the next video: [http://sharedby.manuel-heidrich.com/H81KjG/3lOpECHf](http://sharedby.manuel-heidrich.com/H81KjG/3lOpECHf)  
When I refresh the page the app jumps to the home tab but with the contact page loaded.

So what I am trying to achieve is obviously the app to open AnotherPage within the contact tab when refreshing the page. The question is: am I doing something wrong or is there some other issue involved? Does anybody have a solution for this problem?

I created a repo containing my demo app: [https://github.com/mahnuh/ionic-deeplinking-experiments](https://github.com/mahnuh/ionic-deeplinking-experiments)

---

<div class="post-metadata">

**Author:** ![saroxkevin](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/saroxkevin/32/115599_2.png) [@saroxkevin](https://forum.ionicframework.com/u/saroxkevin)\
**Post date:** [December 5, 2017, 7:41am UTC](https://forum.ionicframework.com/t/deeplinking-and-tabs/114057/2 "2017-12-05T07:41:53Z")

</div>

I have got exactly the same issue! Other examples, such as the [tabs starter template](https://github.com/ionic-team/starters/tree/master/ionic-angular/official/tabs) seem to not use IonicPage, which as far as I can gather is required for DeepLinking.

This is really confusing to me, hopefully we find a fix.

---

<div class="post-metadata">

**Author:** ![vklinghammer](https://avatars.discourse-cdn.com/v4/letter/v/dc4da7/32.png) [@vklinghammer](https://forum.ionicframework.com/u/vklinghammer)\
**Post date:** [December 5, 2017, 8:11am UTC](https://forum.ionicframework.com/t/deeplinking-and-tabs/114057/3 "2017-12-05T08:11:20Z")

</div>

I’m facing the very same issue. This is especially annoying with PWAs. I read a suggestion somewhere to simply not use tabs but that can’t be it, right? 😄

Is this something the Ionic team is aware of? Is there any way we can help?

---

<div class="post-metadata">

**Author:** ![mahnuh](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mahnuh/32/115523_2.png) [@mahnuh](https://forum.ionicframework.com/u/mahnuh)\
**Post date:** [December 18, 2017, 11:47am UTC](https://forum.ionicframework.com/t/deeplinking-and-tabs/114057/4 "2017-12-18T11:47:29Z")

</div>

I just found a solution: I had to set tabUrlPath in to something unique and other than the name of the page I was opening within that tab. So the url no longer is /#/base/contact/contact but something like /#/base/tab2/contact. Hope that helps @saroxkevin and @vklinghammer.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 10:01pm UTC](https://forum.ionicframework.com/t/deeplinking-and-tabs/114057/5 "2021-07-19T22:01:06Z")

</div>


