@Aliff34 This is standard Netlify behavior:
A solution is to specify the canonical url:
canonical
Another option would be Edge Functions: