# Href problem

**URL:** <https://forum.ionicframework.com/t/href-problem/29143>\
**Category:** uncategorized\
**Created:** [July 24, 2015, 3:50pm UTC](https://forum.ionicframework.com/t/href-problem/29143 "2015-07-24T15:50:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vendis](https://avatars.discourse-cdn.com/v4/letter/v/c6cbf5/32.png) [@vendis](https://forum.ionicframework.com/u/vendis)\
**Post date:** [July 24, 2015, 3:50pm UTC](https://forum.ionicframework.com/t/href-problem/29143/1 "2015-07-24T15:50:43Z")

</div>

Here’s my code:

```
<div class="list card">
      <div class="item item-divider">Links</div>
      <div class="list">
        <a class="item" href="https://www.google.com/">
          <h2>google</h2>
        </a>
      </div>
</div>

```

It works fine in ionic serve, but not good on my android phone.  
Anybody coud help me? Thanks!

---

<div class="post-metadata">

**Author:** ![Kaptajnen](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Kaptajnen](https://forum.ionicframework.com/u/Kaptajnen)\
**Post date:** [July 24, 2015, 3:53pm UTC](https://forum.ionicframework.com/t/href-problem/29143/2 "2015-07-24T15:53:01Z")

</div>

Remember to include the whitelist plugin from cordova: [https://github.com/apache/cordova-plugin-whitelist](https://github.com/apache/cordova-plugin-whitelist)

---

<div class="post-metadata">

**Author:** ![vendis](https://avatars.discourse-cdn.com/v4/letter/v/c6cbf5/32.png) [@vendis](https://forum.ionicframework.com/u/vendis)\
**Post date:** [July 24, 2015, 4:15pm UTC](https://forum.ionicframework.com/t/href-problem/29143/3 "2015-07-24T16:15:56Z")

</div>

Thank you very much! It must be the correct solution!

---

<div class="post-metadata">

**Author:** ![vendis](https://avatars.discourse-cdn.com/v4/letter/v/c6cbf5/32.png) [@vendis](https://forum.ionicframework.com/u/vendis)\
**Post date:** [July 25, 2015, 1:52am UTC](https://forum.ionicframework.com/t/href-problem/29143/4 "2015-07-25T01:52:13Z")

</div>

Well, one more word for newbie like me…whitelist plugin is already included in your default ionic project, so just directly modify config.xml
