Hi Barbara
I Have just checked in a book which is the history of the 2nd West York Militia which states:
18 Dec 1813 Marched by route Porchester to Haslar Barracks; thence to Block House Beach and embarked for Ireland
18 Feb 1814 Disembarked at Cork
24 Feb 1814 Marched by route to Wexford
4 Aug 1814 Marched by route to Enniscorthy
1 Nov 1814 Marched by route to Clonmel
13 Sept 1815 Marched from Clonmel to Newcastle
So they seem to have been in Ireland that year. No mention of Edinburgh sadly.
However, if you are able to get to The National Archives at Kew, they have the muster rolls where you should find John Taylor listed. This would tell you exactly where he was during 1814.
Good luck.

Regards
Ermin