Why can't you use substitution to integrate ln(2x+1)?

I’m learning integration by parts, and came across the question:

integrate ln(2x+1)dx (I can’t do the integral sign, but you get the idea).

I did it with integration by parts, but when I do it with substitution, it doesn’t work (not the right answer). Why can’t I just substitute 2x+1 by u and integrate ln(u) and substitute 2x+1 back in later?