[英]Joomla Image path on article pages
This is driving me insane! 这让我发疯!
Is there a rewrite condition I can use in htaccess file to make sure images always load from the images folder and do not have the article name added? 我可以在htaccess文件中使用重写条件来确保始终从图像文件夹加载图像并且没有添加商品名称吗?
I found a link which might solve the problem. 我找到了可能解决问题的链接。 Here's the link: https://forum.joomla.org/viewtopic.php?t=298582 这是链接: https : //forum.joomla.org/viewtopic.php?t=298582
Modify inlcudes/application.php at row 108, from this: 从此处修改inlcudes / application.php在第108行:
Code: Select all 代码:全选
$document->setBase(JURI::current()); $ document-> setBase(JURI :: current());
to this: 对此:
Code: Select all 代码:全选
$document->setBase(JURI::base()) ; $ document-> setBase(JURI :: base());
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.