我只是将所有东西从我的远程Drupal站点移动到localhost (C:\xampp\htdocs\文件夹)。所有链接(内容图像、菜单链接)在应该是http://localhost/sites/default/files/inline-images/magento.png时都会像http://localhost/foldername/sites/default/files/inline-images/magento.png一样显示。
有什么快速的方法可以用来解决这个问题,比如使用mod_rewrite吗?
发布于 2016-11-07 10:30:36
如果RewriteBase方法不工作,而且其他每个页面都正常工作,请尝试将settings.php文件中的$base_url变量设置为您的文件夹。
发布于 2016-11-08 11:43:18
您可以尝试使用病理性模块来解决图像url问题。
https://drupal.stackexchange.com/questions/219775
复制相似问题