Join the Webstudio community

Updated 2 months ago

Domain.com/blog

At a glance

The post asks if the domain can be configured on the Webstudio side to publish the website to a subdirectory like domain.com/blog instead of domain.com. The community members provided the following responses:

One community member suggested that if the primary site is hosted elsewhere but the blog is in Webstudio, a subdomain like blog.domain.com can be pointed to Webstudio. When the entire site is in Webstudio, a folder named "blog" can be created to build the posts. However, Webstudio cannot serve only domain.com/blog while the root domain.com remains on a different host.

Another community member mentioned that it is possible to do this if the user has their own URL rules on their hosting, so they can render whatever.wstd.io when the user visits domain.com/blog. This can be easily done on Cloudflare using their rules.

The third community member simply stated that using a subdomain is easier.

There is no explicitly marked answer in the comments.

Can the domain be configured on the Webstudio side so that the website is published to a subdirectory like domain.com/blog instead of domain.com?
y
O
3 comments
If your primary site is hosted elsewhere but you’d like the blog to live in Webstudio, point a sub-domain such as blog.domain.com to Webstudio and it will work seamlessly.

When the entire site is in Webstudio, simply create a folder named blog and build your posts there—Webstudio can even pull in dynamic entries from a headless CMS.

What Webstudio can’t do (at least for what I know) is serve only domain.com/blog while the root domain.com remains on a different host.
you could do that if you have your own url rules on your hosting, so you can render

whatever.wstd.io when user visits domain.com/blog

this can be easily done on cloudflare using their rules
but using subdomain is easier
Add a reply
Sign up and join the conversation on Discord