dab Posted March 14, 2016 Posted March 14, 2016 (edited) Hope this helps someone: If you you have a "standalone" hard-coded link in your template e.g to a site map page, this code will allow the url to work alongside multi-language url support: <a href="<?php $sitemap = $pages->get("/site-map/"); echo $sitemap->url; ?>"><?php echo __('Site Map'); ?></a> Edited March 14, 2016 by LostKobrakai Added codeblock
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now