页面中包含的所有链接删除了Laravel网站中的HTTP或HTTP
以下是/routes/web.php
的文件,并声明3个路由如下: web.php代码映像
- xx.com/contact
- xx.com/ooo/contact
- xx.com/vendor/contact
问题在路由中xx.com/contact
和xx.com/oo/contact
页面中包含的所有链接都没有协议(HTTP或HTTPS),请在下面找到屏幕截图。 <
COM/OOO/联系人)也没有协议。 输出图像
但是,在前缀/vendor/vendor/code>(
)中xx.com/vendor/contact
)所有页面链接均为协议(http或https),请在下面找到屏幕截图。 输出图像
请帮助停止删除协议的解决方案,因为我希望整个网站都希望整个站点与协议(HTTP或HTTPS)的页面中包含的链接。
谢谢你!
-----------添加-------
对于布局刀片,我删除了所有内容(JS和CSS)刚刚编写了HTTP和HTTPS,用于测试,以
。
://i.sstatic.net/4udqe.png“ rel =“ nofollow noreferrer”>输出图像
但是,使用前缀/vendor/
(xx.com/vendor /testing
)工作正常,它与协议(http或https)一起使用 A>
请帮忙...
Below is the file of /routes/web.php
and declared 3 routes as following: web.php code image
- xx.com/contact
- xx.com/ooo/contact
- xx.com/vendor/contact
The problem is in the route xx.com/contact
and xx.com/ooo/contact
all links contained in the page are without protocol (http or https), please find the screenshot below.
output image
with prefix /ooo/
(xx.com/ooo/contact
) also the same are without protocol.
output image
However in the prefix /vendor/
(xx.com/vendor/contact
) all page links are with protocol (http or https), please find the screenshot below.
output image
Please help what is the solution to stop removing the protocol, as I want the whole site links contained in the page with the protocol (http or https).
Thank you!
---------ADD ON------
For the layout blade I had removed everything (js and css) just wrote http and https for testing as code image
xx.com/testing
output is removed http: and https: output image
xx.com/ooo/testing
output is removed http: and https: output image
However, with the prefix /vendor/
(xx.com/vendor/testing
) is working fine, it is with protocol (http or https) output image
Please HELP...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论