- Fix localized routes when baseurl has url segments

Fix localized routes when baseurl has url segments (eg http://example.com/example_segment/)