We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Textile using site root relative paths
I recently updated a client's site to Perch 2.8.31 and they're having some issues with links. They use Textile on their text_block.html template and any links they add are being output relatively. So if they were to type
"Yahoo":www.yahoo.com the link would output as
https:// to the url breaks it entirely and just outputs the input verbatim:
This wasn't the case until this update. They were updating from a pretty old version of the CMS, but I couldn't tell you which.
I've tried updating the version of php they're running from 5.4 to the maximum allowed 5.5 (the options in the control panel are limited to 5.3, 5.4 and 5.5) but that doesn't help. I also tried switching Textile to Markdown to see what happened and the links with
http:// added worked ok but without this it still defaulted to relative.
I tried it locally and it worked fine. So the problem seems to be somewhere with the combination of the new version of Perch and their server. Do you know if this is something to do with some settings that might have changed in Perch's core that are less comprehensive in the servers they support? I've had a good delve in the CPanel setting but can't find anything. Also Google's not turning anything up. Do you know if this is something that might be able to be fixed in Perch or if it's their server that's at fault?
Thanks for keeping me right :)
Want to reply to this thread?Login with Perch