Page 1 of 1

image issue with friendly URLs switched on

Posted: Mon Apr 30, 2012 11:06 am
by scotch33
Hello,
I am getting an issue with a coupel of sites in 10.3 that have mod_rewrite switched on in the config alonfg with the appropriate .htaccess file.

Images are not addressing correctly... For example..

In a top page the address for an image is /uploads/images/image.jpg.

However in a chiled page, it is prepending the address with the pretty urls element, so for example if in a page which is the child of 'services' the address of the image gets changed to 'services/uploads/images/image.jpg' which breaks it. thus images are not showing in child pages.

How can I get around this odd quirk?

Thanks!

John

Re: image issue with friendly URLs switched on

Posted: Mon Apr 30, 2012 11:20 am
by Rolf
Hi John

Do you have the {metadata} tag in the head of your template?
It provides the base url to your template.

grtz. Rolf :)

Re: image issue with friendly URLs switched on

Posted: Mon Apr 30, 2012 11:27 am
by scotch33
aha - no - I am using seo tools which replaces it - makes sense now. I'll hand add that metatag.

Re: image issue with friendly URLs switched on

Posted: Wed May 02, 2012 4:15 pm
by Rolf