Recent debate over the location of the capital of Israel can be easily settled if one only follows the norms of acknowledging a capital.
1. The country declares its capital. This was done in 1950 by Israel. It declared Jerusalem as its capital.
2. When in doubt, refer to number 1.
If clarification is still needed, perhaps this Google search will help you: