My domain name (llmilne.com) works fine, but when I click on any of my posts (Hugo), it redirects to https://3b645433.llmilne-com.pages.dev/. How do I keep my domain?

I know that was a long sentence, but I don’t really know how to shorten it.

The sentence was not that long, it simply should not have been in the subject.

As for the issue, it’s not redirecting. Your site simply uses absolute links with that hostname. Somewhere in your site configuration you will have configured your pages.dev hostname and this will be preprended. You need to adjust that or drop it altogether - however that would be a question for discourse.gohugo.io

1 Like

You need to change your build command to hugo -b $CF_PAGES_URL. See Deploy a Hugo site · Cloudflare Pages docs

2 Likes

I am afraid you really best clarify this at mentioned forum, as this is an issue when your CMS generates the HTML content and not related to Cloudflare.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.