# Blog: prepare dapps for social media sites and SEO

**URL:** <https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681>\
**Category:** Developers\
**Created:** [September 29, 2022, 12:31pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681 "2022-09-29T12:31:25Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [September 29, 2022, 12:31pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/1 "2022-09-29T12:31:25Z")

</div>

Now that the IC supports crawlers (I’m so pumped about this 🤩), I wrote a guide to help other developers prepare their dapps for social media sites and SEO.

If you have any idea of improvements, please let me know 🙏

> **[Prepare your dapps for social platform and SEO](https://6zvwc-sqaaa-aaaal-aalma-cai.raw.ic0.app/d/prepare-your-dapps-for-social-platform-and-seo)**
>
> A guide to set up dapps metadata, icons and social image for social media sites and search engines.

---

<div class="post-metadata">

**Author:** ![rncrmn](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rncrmn](https://forum.dfinity.org/u/rncrmn)\
**Post date:** [September 29, 2022, 1:22pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/2 "2022-09-29T13:22:09Z")

</div>

Just done reading it and I love it, I did bookmark it too for later reference, thank you spider man.

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [September 29, 2022, 1:32pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/3 "2022-09-29T13:32:59Z")

</div>

haha cool to hear that, my pleasure 🙂

---

<div class="post-metadata">

**Author:** ![domwoe](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/domwoe/32/5165_2.png) [@domwoe](https://forum.dfinity.org/u/domwoe)\
**Post date:** [September 29, 2022, 1:36pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/4 "2022-09-29T13:36:54Z")

</div>

On 🔥 as always 🙂

Would be cool if you could publish the content also at [Deploying & Upgrading Canisters | Internet Computer Home](https://internetcomputer.org/docs/current/developer-docs/deploy/) or [Best Practices | Internet Computer Home](https://internetcomputer.org/docs/current/developer-docs/best-practices/)

to make it easier for future devs to find it. What do you think?

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [September 29, 2022, 1:58pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/5 "2022-09-29T13:58:17Z")

</div>

If you think it’s an interesting information for the docs, sure it’s cool 👍.

It probably better fits “Best Practices” I would say. For sure it would also deserve a good review first (my english is notably not the best).

P.S.: the website supports canonical? not against keeping Papyrs as original source but not a must neither

---

<div class="post-metadata">

**Author:** ![valiantlynx](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/valiantlynx/32/6654_2.png) [@valiantlynx](https://forum.dfinity.org/u/valiantlynx)\
**Post date:** [September 30, 2022, 8:11pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/6 "2022-09-30T20:11:49Z")

</div>

good stuff. my dapp uses the ic raw link. do u know if one can use a custom domain. it is making it hard to do any seo

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [October 1, 2022, 6:51am UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/7 "2022-10-01T06:51:21Z")

</div>

It’s possible to use a custom domain (see documentation below) but note that I think this new feature of the issue - support for crawlers - does not work with custom domain.

[Custom Domains | Internet Computer Home](https://internetcomputer.org/docs/current/developer-docs/deploy/custom-domain) & [The Internet Identity Specification | Internet Computer Home](https://internetcomputer.org/docs/current/references/ii-spec#alternative-frontend-origins)

Note that if you use a custom domain you may need to serve a custom worker but, since you are already using the raw domain I guess you are fine not using one.

Alternatively, there is also [https://fleek.co](https://fleek.co) who offer an easy solution for hosting and custom-domain but note that with this solution you are not directly the controller of the canister anymore.

---

<div class="post-metadata">

**Author:** ![Mitch](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/mitch/32/4826_2.png) [@Mitch](https://forum.dfinity.org/u/Mitch)\
**Post date:** [October 14, 2022, 5:03pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/8 "2022-10-14T17:03:19Z")

</div>

Hey can you point me to why you’re thinking support for custom domains and crawlers do not work together? I’m currently interested in doing both so this would be great info to help make those choices.

It seems like the boundary node team has custom domains in the works, I imagine their solution will be compatable. [Boundary Node Roadmap](https://forum.dfinity.org/t/boundary-node-roadmap/15562)

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [October 14, 2022, 5:35pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/9 "2022-10-14T17:35:13Z")

</div>

> [@Mitch](#):
>
> Hey can you point me to why you’re thinking support for custom domains and crawlers do not work together? I’m currently interested in doing both so this would be great info to help make those choices.

Not sure anymore if I heard that in a presentation or if it was an input from @domwoe. Dominic do you know a bit more, can you answer?

---

<div class="post-metadata">

**Author:** ![rbirkner](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@rbirkner](https://forum.dfinity.org/u/rbirkner)\
**Post date:** [October 17, 2022, 7:10am UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/10 "2022-10-17T07:10:08Z")

</div>

Hi Mitch, in order to support crawlers, you must bypass the service worker. canister-id.raw.ic0.app, for example, does that. This bypass is now also enabled for the standard canister-id.ic0.app domain. We achieve that by checking the user-agent and redirecting crawler requests to “raw” instead of serving the service worker.

If you follow the current [custom domains instructions](https://internetcomputer.org/docs/current/developer-docs/deploy/custom-domain), you set up your own frontend that serves the service worker. In order to enable crawlers + custom domains, you would have to detect crawlers in your frontend and then either serve the service worker or redirect the requests to “raw” yourself. It’s certainly possible, but more involved.

Once we support custom domains on the boundary nodes directly, crawlers + custom domains will also work.

---

<div class="post-metadata">

**Author:** ![Mitch](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/mitch/32/4826_2.png) [@Mitch](https://forum.dfinity.org/u/Mitch)\
**Post date:** [October 18, 2022, 11:54pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/11 "2022-10-18T23:54:20Z")

</div>

Ah great news, thank you for the reply, that clears things up. I’m looking forward to custom domains out of the box!

---

<div class="post-metadata">

**Author:** ![karim](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/karim/32/4680_2.png) [@karim](https://forum.dfinity.org/u/karim)\
**Post date:** [February 7, 2024, 5:14pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/12 "2024-02-07T17:14:31Z")

</div>

Can I still find this blog somewhere? The canister doesn’t exist and Papyrs seems to have been shutdown ☹

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [February 7, 2024, 5:28pm UTC](https://forum.dfinity.org/t/blog-prepare-dapps-for-social-media-sites-and-seo/15681/13 "2024-02-07T17:28:28Z")

</div>

Yep, Papyrs is deprecated.

You can find it crossposted on [Juno’s website](https://juno.build/blog/preparing-your-app-for-production-icons-metadata-and-beyond) or [my blog](https://daviddalbusco.com/blog/prepare-your-dapps-for-social-platform-and-seo/).
