You can host <your-site>.quotion.co
in a subdirectory of your domain now.
Real-world examples:
https://quotion.co/blog (This blog)
https://www.awesomeapplenotes.com/blog
Before I dig into the details, you may wonder why do I need this?
Well, according to semrush, subdirectories have fully benefits from the backlinks, which is good for SEO.
Sounds wonderful? Let's get started!
0. Cloudflare domain
You need a Cloudflare domain first, go buy a domain if you don't have one.
1. Create a worker
Login to the Cloudflare dashboard
Create a worker
2. Write worker code
Don't forget to deploy the code after changing.
3. Add worker routes
We need following routes to make proxy work:
- /blog* (your subdirectory)
- /_next* (for hosting Next.js static js/css)
- /.quotion* (for hosting images/APIs)
For instance, you have a domain named www.awesomeapplenotes.com, you want to host Quotion site on www.awesomeapplenotes.com/blog, you need to add blog route like this:
Repeat until you have added all /_next*
, /.quotion*
routes.
After you have done all these steps, you can go to your subdirectory to check if the blog home is working.
4. Setup URL prefix in Quotion dashboard
To make post/tag pages work, you need to go to Quotion dashboard > your site > domain page, then setup the URL prefix. It should match the subdirectory you just made.
🎉 Congratulations! All pages should work as expected.
Have issues?
Feel free to contact support.
SEO
Create your blogs directly from Apple Notes.
Say goodbye to complex CMS updates and management issues!
You focus on creating quality content while Quotion takes care of the rest.
Latest
More from the blog
Qing
Layout editor
🔥 I'm so excited to announce that the layout editor is live now. You can easily edit your site layout inside the design page, home note is no longer needed! All home note functionalities, like logo, favicon, hero, headerLinks, footerLinks and copyright are fully supported. The best part is you can preview the changes
Read post
Qing
Introducing Realtime Preview
Today, we're excited to announce, Quotion supports Realtime Preview now. You can preview your latest changes on your Quotion sites in realtime, no more refresh your page manually. Demo :::note Click any pen links will load your site in realtime preview mode. You don't need to click every post via the pen. ::: Checkout our
Read post
Qing
Introducing KaTeX
Many students are using Quotion. One of the most wanted features is KaTeX for math. Today, we're excited to share that Quotion now supports KaTeX out of the box. 🔥 Preview The note: The post: Tech details We need KaTeX css to render expressions correctly, but it is a pretty big chunk, to reduce the
Read post