Hi there,
I’m currently in the midst of building a mobile version of a website. I’m using
related_entriesto re-use content on the site so the customer doesn’t have to maintain a separate set of content for their mobile website.
This works really well except for one problem I’m hoping someone can help me with.
The hypertext in the re-cycled content all point to pages on the main (non-mobile) version of the site. I’ve built the mobile site using the following URI convention: mysite.com/mobile/ (everything after mobile follows the same URI convention as the main site.)
My question is this:
How can I make any internal hypertext that appears in the content, link to the mobile version of the site?
For example, I have a link in the ‘About’ page text that points to the contact page: mysite.com/contact/
In the mobile version of the ‘About’ page I want it to point to: mysite.com/mobile/contact/
Is there a tag or conditional statement I can add to my links that will achieve this?
Thanks,
Nick.
[Mod Edit: Moved to the Community Help forum]