I most often do not enable server side includes on sites unless needed and wordpress runs fine.

Some hosts have them automatically enabled if they support it and some do not, but your method will work fine as long as they are turned on, I just wanted to mention that in case someone has trouble using that method.

I am considering giving that a go on a site to see how well it works as I have not done much with any geolocation.

Rick
Universal4