Are your hamstrings actually stiff in reality? There are many people who "feel" that there hamstrings are stiff and then go about stretching them day in and out to try to relieve back pain, move better, etc.  Well I have some news for you.  Just because they feel stiff does not necessarily mean that they are.  Stiff hamstrings is a very commonly misdiagonosed case.

A client I began with last week had this exact problem.  He had been to a physical therapist for a couple of years who misdiagnosed the problem and  he himself also "felt" that his hamstrings were stiff. However, when I checked the other joints around his hips and simply looked at him stand, it was easy to see that this couldn't be farther from the real issue at hand.  He had an anteriorly tilted pelvis.
Picture
When your pelvis is in anterior tilt, your hip flexors become stiff/short and your glutes shut off and become weak/inhibited.  Your hamstrings are ALREADY in a constant state of stretch and since your glutes are not doing their job, your hamstrings take up all of the slack.  Since they are in a constant state of stretch and constantly overworked, they will FEEL stiff. So, as sad as it is, many people just like the client I saw, go on for years stretching their already overly stretched hamstrings and make their problem worse than it already is. 
I should point out that an anteriorly tilted pelvis also increases the curve in the lower back, which overstresses this region also and often causes back issues.  Guess what, stretching those hamstrings makes the issues worse.

So what do you need to do to fix the problem?  First of all, stop stretching your hamstrings, which are already on stretch.  What you need to do is stretch your hip flexors (primarily rectus femoris, psoas, tfl) or for the simple minded the front of your hips, and activate/strengthen your glutes.  Doing this will tilt your pelvis back in the direction of neutral, take the stress off of your hamstrings and back, and make you feel like a million bucks again.  The hip flexor stretch, glute activation work and soft tissue work that I covered in previous posts are great ways to begin doing this.

Before I go, you should note that this is not the case with everybody.  Some people really do have stiff hamstrings that need some length.  Everything must be checked to determine what is really going on.  Assumptions will get you nowhere.  Hope everyone has an awesome rest of the weekend!