我已经张贴这在Drupal的论坛。目前,我有问题,上传图片,并用干净的URL的网站上。
I have already posted this in a Drupal forum. I currently have problems with uploading images and using clean urls on the site.
在我的图像上传到文章页面,然后我点击刷新,查看网页,图像不会出现。我检查了图像的URL和一个例子网址是:
When I upload an image to an article page and then I click refresh to view the page, the image doesn't appear. I check for the image url and an example url would be:
https://m.xsw88.com/allimgs/daicuo/20230902/260.png.jpg
但如果我修改URL地址栏上的图像会出现:
but the image would appear if I modify the url on the address bar to:
的https://m.xsw88.com/allimgs/daicuo/20230902/262.png.jpg
我曾尝试:
接通和断开清洁网址(有时图像出现,但随后 他们再次消失) 在.htaccess文件修改重写规则 文件夹的权限 turning on and off clean urls (sometimes the images appear, but then they disappear again) modifying rewrite rules in the the .htaccess file folder permissions这件事发生时,我上传我的网站Apache服务器和URL的变化,但我的计算机上本地做,该URL不会改变。
This happened when I uploaded my site to an apache server and the url changes, but doing it locally on my computer, the url don't change.
我去另一个方向与我的照片,但我想通了呢。我所要做的就是删除.htaccess文件在网站/默认/文件。
I went on another direction with my photos but I figured it out anyway. All I had to do was to delete the .htaccess file in the site/default/files.