refactor. add option for canonical url in menu items. used when using sub domians