Domain-level redirects not working

I have a Netlify site ( which has a set custom, primary domain (
Since I don’t need the default Netlify subdomain, I want to redirect the traffic to the primary domain.

I’ve tried with _redirects file:

/category/uncategorized/         /              301 301!* 301!

Note that the relative path redirects work as expected, however the domain-level redirects have no effect.

I’ve also tried with netlify.toml:

  from = "*"
  to = ""
  status = 301
  force = true

Still doesn’t work. Please help.

I’m not seeing

these redirects being deployed.

This one is deployed.

So there’s clearly some conflict happening in case of your configuration. Can’t say anything more than that without seeing your project files.