Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

CMS links on frontend not converting href=[sitetree_link_id=xx]


Reply

4 Posts   360 Views

Avatar
Fraser

20 September 2012 at 5:39pm Community Member, 46 Posts

An issue has been noticed on one of our old sites running 2.4 where when the user creates a link in the CMS content, selecting an existing page to link to, the link is not being converted to the actual URL on the front end and all links are coming through in the format of <a href="[sitetree_link_id=12]">

What would be causing this and how do I fix it?

Avatar
Lukin

20 September 2012 at 7:32pm Community Member, 42 Posts

maybe mod_rewrite has been turned off?

Avatar
martimiz

20 September 2012 at 10:15pm Forum Moderator, 1095 Posts

Sometimes this happens when a user creates a link by copy/paste. Did you test creating a link yourself?

Avatar
Fraser

21 September 2012 at 4:56pm Community Member, 46 Posts

I did try it myself, yes. We've actually noticed it on a second of our sites, also running SS2.4.