简体   繁体   English

错误:无法检索到所请求的URL

[英]ERROR: The requested URL could not be retrieved

I have a project in CodeIgniter and hosted in Sub-domain, and it has an error: 我在CodeIgniter中有一个项目,并托管在子域中,它有一个错误:

The requested URL could not be retrieved 所请求的网址无法检索

Here is a picture of it: Error 这是它的图片: 错误

I had the same error on a new installation of CodeIgniter. 在新安装的CodeIgniter上我遇到了相同的错误。 I solved this error by turning off my VPN browser plugin. 我通过关闭VPN浏览器插件解决了此错误。 You might have a proxy or VPN app running turn it off and see. 您可能正在运行代理或VPN应用,将其关闭并查看。

Please use this mandatory part before moving your code from localhost to live server. 在将代码从localhost移至实时服务器之前,请使用此强制性部分。

  1. Change base_url in config file. 更改配置文件中的base_url
  2. Do necessary changes in .htaccess file .htaccess文件中进行必要的更改
  3. Change database connection credentials 更改数据库连接credentials

This will help you. 这将为您提供帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法检索到请求的URL“ http:// localhost /” <!— ERR_ACCESS_DENIED --> 使用XAMPP - The requested URL could not be retrieved “http://localhost/” <!— ERR_ACCESS_DENIED --> using XAMPP 尝试访问虚拟主机上的 Laravel 项目时无法检索到请求的 URL - The requested URL could not be retrieved while trying to access Laravel project on Virtual Host 尝试使用 XAMPP 访问虚拟主机上的 Laravel 项目时无法检索请求的 URL - The requested URL could not be retrieved while trying to access Laravel project on Virtual Host with XAMPP ZendSkeleton 404 错误 - 请求的 URL 无法通过路由匹配 - ZendSkeleton 404 error - The requested URL could not be matched by routing 路由无法匹配请求的URL - The requested URL could not be matched by routing ZF2-路由无法匹配所请求的URL - ZF2 - The requested URL could not be matched by routing 404路由无法匹配请求的URL - 404 The requested URL could not be matched by routing 在zf2中路由无法匹配所请求的URL - The requested URL could not be matched by routing in zf2 发生404错误找不到页面。 路由无法匹配请求的URL。 没有例外 - A 404 error occurred Page not found. The requested URL could not be matched by routing. No Exception available 在 codeigniter 中找不到请求的 url 错误 - The requested url not found error in codeigniter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM