Codeigniter - Url 到 style.css 和媒体文件正确但未显示任何内容

Codeigniter - Url to style.css and media files are correct but nothing is displayed

我的 codeigniter 有一个大问题。 我刚刚将 codeigniter 文件移动到另一个域。我已经更改了 base_url 和 style.css,其他媒体文件是用 base_url + path_to_the_media_folder 实现的。 路径是正确的,但 codeigniter 找不到我的媒体文件夹,所有内容都在其中。在另一个域上,这完全正常。

也许这有助于解决问题: 我拥有媒体和 css 文件的文件夹与 CI "application"、"media"、"system" 等文件夹位于同一目录中。

我该如何解决这个问题?

此致 保罗

你有什么错误吗?请分享错误

尝试以下 URL

http://your domain name/your folder name/index.php/
There is two chance to get the 404 error
 1) your path is wrong.  2) There is issue on file name or class name.

Controller class names should be all lowercase, and Controller file name should be Uppercase.

like your class name is  
class example extends CI_Controller 

and file name is 

Example.php 

更新:问题已解决 发现这只是因为我忘记更改 .htaccess(因为我的新域有 https 连接而旧域没有)。 感谢任何人的帮助。