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   391 Views

Avatar
Fraser

Community Member, 47 Posts

20 September 2012 at 5:39pm

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

Community Member, 42 Posts

20 September 2012 at 7:32pm

maybe mod_rewrite has been turned off?

Avatar
martimiz

Forum Moderator, 1105 Posts

20 September 2012 at 10:15pm

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

Avatar
Fraser

Community Member, 47 Posts

21 September 2012 at 4:56pm

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