I plan on spending some of my time to repaint the bathroom and put down some new flooring but before that I want to deal with a problem I have always had here.
The problem is my toilet is too far away from the wall and is crooked!
I found out the reason for this is there is a floor joist right in the way where the drain should come up from the floor.
I have never had to deal with this type of issue before. What I was thinking was cutting the joist and make a box where the drain should run. I will use joist hangers to secure the sides of the box to the adjacent joists and then nail the box into the ends of the joist I cut.
How you modify that floor joist will depend on where the cut is in relation to the joist span and the loads on the floor in the area where you need to cut.
Is the wall behind the toilet a load bearing wall?
What is the span, size and spacing of your floor joists?
Is you roof system engineered trusses or stick built?
Also would need to see a floor plan sketch of the walls including the location of the main beam your floor joists are supported by in the crawlspace. In the attached photo probably your worst case loading will require Modification #1 using metal hanger straps for the connections.