V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Giethoorn  ›  全部回复第 3 页 / 共 15 页
回复总数  295
1  2  3  4  5  6  7  8  9  10 ... 15  
2019-10-14 11:44:59 +08:00
回复了 Giethoorn 创建的主题 问与答 js 能实现全站 301 重定向吗?
@westoy 那不能让 http 的打不开吧,还是不开 https 的,我现在都蒙了,到底要不要开 https 的,
2019-10-14 11:43:01 +08:00
回复了 Giethoorn 创建的主题 问与答 js 能实现全站 301 重定向吗?
@optional 您要非要较真儿,我就添加上去吧,因为之前添加了之后,返回码不对,所以删掉了
2019-10-14 11:41:39 +08:00
回复了 Giethoorn 创建的主题 问与答 js 能实现全站 301 重定向吗?
.htaccess 配置如下
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
2019-10-12 15:40:14 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@xiaodongus 大佬 ,按你这个 JS 实现跳转了,但是返回码不是 301 啊,有没有 301 的 JS 跳转代码
2019-10-12 15:20:12 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@imdong 你可以接下这个单吗?
2019-10-12 12:57:40 +08:00
回复了 xsm1890 创建的主题 问与答 你们公司要求写周报嘛?
日 报了解一下
2019-10-12 12:55:23 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@yingfengi 很认真的看了,感觉介绍的不具体,目前全站都有 https 了,主要是内页 http 的和 https 的都能打开,而且百度收录两个页面,现在需要将全部内页都 http 跳转至 https 上
2019-10-12 08:30:56 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@aabbcc 有病吧,你是
2019-10-11 12:30:22 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@Shoukaku 那么问题来了,怎么设置 HSTSk 呢
2019-10-11 12:23:52 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@deorth 这个可以
2019-10-11 12:04:51 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@ferock 可以考虑给些欢乐豆到你
2019-10-11 11:45:30 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@ferock 恭喜你目测对了
2019-10-11 11:45:11 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@xiaodongus 还是加在头部文件里吗?
2019-10-11 11:03:38 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@xiaodongus 刚才前面一位兄台说首页显示出问题就是因为在头部文件加了这个代码,我也不知道是不是没有加对 /捂脸
2019-10-11 10:44:22 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@Caratpine 谢谢,已经处理了
2019-10-11 10:37:17 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@ljpCN 我问下网建商有没有跑 nginx 吧,以前没有接触过这个
2019-10-11 10:28:47 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@imdong if ( $https = "on" ) {
return 301 http://$host$request_uri;
}
or
error_page 497 https://$host$uri?$ar 这个是放在哪里的
2019-10-11 10:25:30 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@hitsmaxft 有具体的方法吗?
2019-10-11 10:24:54 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@jugelizi 原谅我一个做 seo 的女生,真的不太会,有点笨,能不能说的具体点啊
2019-10-11 10:07:49 +08:00
回复了 Giethoorn 创建的主题 新手求助 PHP 程序站,怎么做全站 http 跳转到 https
@justrand 怎么把 http 缓存 https 有没有可能在头部文件加入跳转的代码来实现
1  2  3  4  5  6  7  8  9  10 ... 15  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1248 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 23:06 · PVG 07:06 · LAX 16:06 · JFK 19:06
Developed with CodeLauncher
♥ Do have faith in what you're doing.