Permalink fixes when used with Apache URL rewriting and theme switcher
localization of layer metadata