Hi. First of all you had this peas of code: <a href="/websites/ ..../public_html/webroot/foo/bar">link</a and it need to be: <a href="/websites/ ..../public_html/webroot/foo/bar">link</a>
Secondly I think you need to delete the /websites/ ..../public_html/ part out of your code. Hope it works. Dirk Schut. 2010/4/27 celery <[email protected]> > Hi, > > I am having probs with an app on shared hosting. Everytime i try and > run a url through a cake helper it prepends the full root of the app > to it. > > For example - > > echo $html->link('link' ,'/foo/bar'); > > comes back as > > <a href="/websites/ ..../public_html/webroot/foo/bar">link</a > > Any ideas on why this may be? works fine locally. > > Thanks for your help. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
