joomla2.5 - joomla prepends to 'path' -
my wife have joomla 2.5 site
she claims has done nothing except, installing , and subsequently uninstalling koowa plugi, ninja plugin , ninjaboard component.
anyway after joomla 'path' have changed such between domain name , path rendered html, joomla server seems insert "/index.php" or "/index.php/menu-item-name"
for example clicking link following:
<a href="images/some_folder/xxx.jpg">
points like: http://www.domain.contry/index.php/fun/images/some_folder/xxx.jpg
how change 'global path settings' such that
<a href="images/some_folder/xxx.jpg">
points http://www.domain.contry/images/some_folder/xxx.jpg
nb: joomla , php skills basic :)
update:
i think problem this:
all image paths used 'absolute' , relative, if in 'index.php/some-menu' , click 'images/xxx.jpg' resolves 'index.php/some-menu/images/xxx.jpg', has images in image folder, there way make image paths 'absolute' instead of relative in joomla?
because changing 'images/xxx.jpg' '/images/xxx.jpg' firebug fixes problem...
if not possible in joomla... how bad think to: download sql database , run regex akin to
s/<.+?=\"(images)\/[\w\s]+?\.[\w\d]+)\".*?>/\/$1/g
look in global configuration under site tab seo settings. make sure have url rewriting enabled, , follow directions in tooltip rename htaccess.txt (linux servers) or web.config.txt (windows servers) if necessary.
if server error on site @ point, try uncommenting rewritebase /
in .htaccess.
Comments
Post a Comment