域已过期,我们希望将来将其更改为另一个域,但暂时来说,我想先在网站上工作,然后再进行切换,并希望通过临时网址访问该网站以进行加载:{{3} },但是在访问该网址时,出现“ 404页面未找到”错误。
我已经创建了info.php文件并找到了文档根目录,因此它不是服务器问题,尝试更改基本url,检查路由,检查.htaccess,检查数据库详细信息,清除缓存,将frontend_module.php重命名为Frontend_module.php并仍然出现“ 404页面未找到”错误。 找不到您请求的页面。”请有人帮助我,告诉我我做错了什么吗?我已经搜索了解决方案,但我所做的任何事情都没有解决我的问题。
我的.htaccess
RewriteEngine on
# here is an ability to set additional "parent" theme, images from this theme will be checked in the first order
# if they aren't existed in original theme, then in default theme
#RewriteCond %{REQUEST_URI} !/themes/default/(.*)
#RewriteCond %{REQUEST_URI} \.(jpg|gif|png|ico)$ [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{DOCUMENT_ROOT}/themes/PARENT_THEME/$2 -f
#RewriteRule ^themes/([^/]+)/(.*)$ themes/PARENT_THEME/$2
# When images from 'themes/' subfolders can not be found - look for them in default theme
RewriteCond %{REQUEST_URI} \.(jpg|gif|png|ico)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^themes/([^/]+)/(.*)$ themes/default/$2 [L]
# Combine js static files in one big file + gzip it (if possible)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*\.js) combine.php?type=javascript&files=$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule ^(.*)$ ./index.php [L]
我的config.php
$config['base_url'] = "http://164.160.91.13/~southaf2/";
$config['subdirectory'] = "";
我的route.php
$route['default_controller'] = "frontend";
$route['scaffolding_trigger'] = "";