Hello everyone,
I’d like to ask if it’s permitted to have multiple pages, such as the ones below:
- 4c6e.xyz (blog)
- cv.4c6e.xyz (job experience)
- r1w1s1.srht.page (old one redirect to -> 4c6e.xyz)
Any feedback would be appreciated. Thank you!
--
BR,
r1w1s1
El 8/3/25 a las 18:20, r1w1s1 escribió:
> Hello everyone,>>> I’d like to ask if it’s permitted to have multiple pages, such as the ones below:>> - 4c6e.xyz (blog)> - cv.4c6e.xyz (job experience)> - r1w1s1.srht.page (old one redirect to -> 4c6e.xyz)>> Any feedback would be appreciated. Thank you!>> --> BR,> r1w1s1
Yes, you may have multiple pages.
What I'm not sure about is the redirect you mention last, though.
The idea is that when you run `hut pages publish`, pass the domain name
via the `-d` argument:
hut pages publish -d 4c6e.xyz blog.tar.gz
hut pages publish -d cv.4c6e.xyz cv.tar.gz
(from the custom domains docs[0])
I don't believe redirects are natively supported, but you could
approximate it with an http-equiv meta tag[0]:
<meta http-equiv="refresh" content="0; url=https://4c6e.xyz" />
Good luck!
[0]: https://srht.site/custom-domains
[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#refresh