# Updating Pages Via API Does Not Update Hyperlinks

**URL:** <https://community.hubspot.com/t/updating-pages-via-api-does-not-update-hyperlinks/93836>\
**Category:** CRM\
**Tags:** developer\
**Created:** [November 13, 2023, 12:00am UTC](https://community.hubspot.com/t/updating-pages-via-api-does-not-update-hyperlinks/93836 "2023-11-13T00:00:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisfromISB](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrisfromisb/32/75439_2.png) [@ChrisfromISB](https://community.hubspot.com/u/ChrisfromISB)\
**Post date:** [November 13, 2023, 12:00am UTC](https://community.hubspot.com/t/updating-pages-via-api-does-not-update-hyperlinks/93836/1 "2023-11-13T00:00:52Z")

</div>

When using the API to upload a page\_data.json I noticed that it will accept link changes to text and image references, but it will not allow us to update ahref domain name/link changes.  
[example.com](http://example.com) as an ahref will not take updates if we find/replace to [example2.com](http://example2.com).  
In both instances of running the curl we get a confirmation that the file was uploaded. But not all of the changes are effected.

Is this by design?

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [November 13, 2023, 4:08pm UTC](https://community.hubspot.com/t/updating-pages-via-api-does-not-update-hyperlinks/93836/2 "2023-11-13T16:08:24Z")

</div>

Hello @ChrisfromISB thank you for posting in our Community!

Have you manually redirected these pages? I want to share these knowledge bases with more information:

- [Bulk upload URL redirects](https://knowledge.hubspot.com/domains-and-urls/bulk-upload-url-redirects)
- [Create and manage URL redirects](https://knowledge.hubspot.com/domains-and-urls/create-and-manage-url-redirects)

To our top experts @boydwason@HubDoPete, , @HFisher7, do you have any advice for @ChrisfromISB?

Thank you,

Pam

---

<div class="post-metadata">

**Author:** ![ChrisfromISB](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrisfromisb/32/75439_2.png) [@ChrisfromISB](https://community.hubspot.com/u/ChrisfromISB)\
**Post date:** [November 13, 2023, 4:12pm UTC](https://community.hubspot.com/t/updating-pages-via-api-does-not-update-hyperlinks/93836/3 "2023-11-13T16:12:00Z")

</div>

For clarity this doesn’t relate to redirects. We are simply doing an in page find and replace on outdated URLs for good html hygiene.
