“How do you keep a dog from barking in your front yard?”/“Put him in your back yard.”

A dog riddle is:
 
Q: How do you keep a dog from barking in your front yard?
A: Put him in your back yard.

     
The joke has been cited in print since at least 1991.
 
“How do you stop a dog from barking in the back yard?”/“Put it in the front yard” is the same riddle, but with the yards switched.
 
“How do you stop a dog howling in the back of a car?”/“Put him in the front” is a similar dog riddle.
 
     
Google Books
101 Shaggy Dog Stories
By E. Richard Churchill and Linda R. Churchill
New York, NY: Scholastic Inc.
1991
Pg. 38:
How do you keep a shaggy dog from barking in your front yard? Put him in your back yard.
       
Google Books
The Awesome Book of Dog Humor
By Bob Phillips
Eugene, OR: Harvest House Publishers
2009
Pg. 121:
Question: How do you keep a dog from barking in your front yard?
Answer: Put him in the backyard.
 
Twitter
Wietse Sluimer‏
@wsluimer
RT @GladLurline How do you keep a dog from barking in your front yard? Put him in your back yard.
3:31 PM - 29 Oct 2009
 
Google Books
The Mammoth Book of Really Silly Jokes:
Humour for the whole family

By Geoff Tibballs
London, UK: Constable & Robinson Ltd
2011
Pg. ?:
How do you keep a dog from barking in your front yard?
Put him in your back yard.
     
Google Books
Martha Speaks:
Funny Bone Jokes and Riddles

By Karen Barss
Illustrated by Susan Meddaugh
Boston, MA: Houghton Mifflin Harcourt
2013
Pg. 21:
How do you keep a dog from barking in your front yard? i
Put him in your backyard!
 
Twitter
PERSEVERANCE NETWORK‏
@PERSEVERANCENET
How do you keep a dog from barking in your front yard? Put him in your back yard.
2:50 PM - 12 Sep 2017