I'm using Joomla 3.4.5 with SEF and .htacess
with cache on.
The image URLs in modules and content are being incorrectly rendered. Sometimes, they are correctly displayed and some other times the following happens:
Instead of rendering:
www.domain.com/images/image.jpg
It is rendering:
www.domain.com/menu_item/images/image.jpg
I'm not sure why this is happening and if it is related wiht .htaccess
or SEF
, cache
or everything.
I'm using the following custom redirects:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteEngine On
RewriteRule ^item/(.+)$ /artigos/$1 [R=301,L]
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "max-age=2592000, public"
</FilesMatch>
Which I tried to comment out to check if it helped, but no luck.
Help anyone?