腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Magento
:新网站与旧的
重定向
,但仍然需要管理员访问旧网站(S)
.htaccess
、
magento
、
redirect
我们已经为一个客户端设置了一个新的
Magento
2站点。他们有几个旧的
Magento
1网站,需要
重定向
到
这个网站,所以我在.htaccess中设置了标准
301
重定向
到
新网站。
到
目前一切尚好。现在,一个简单的例外情况下的.htaccess
重定向
为'^/ admin‘做,只是结束
重定向
到
新网站上的
index.php
。请注意,我已经
将
原始
ma
浏览 0
提问于2018-01-02
得票数 0
1
回答
Magento
index.php
301
将
http
重定向
到
https
php
、
http
、
magento
、
redirect
、
https
我有一个问题,我的项目是在nginx上运行的,所以我不能通过htaccess进行
重定向
。解决方案是,我需要使用
index.php
通过php
将
http
重定向
到
https
。示例此外,google上的大多数示例都建议使用htaccess,这就是我在这里的原因。
浏览 5
提问于2016-09-26
得票数 1
回答已采纳
1
回答
htaccess
重定向
到
https
只有一个文件。
apache
、
.htaccess
、
redirect
我想将所有请求
重定向
到
index.php
脚本(不是额外的
http
请求,而是内部请求)。RewriteRule ^(.*)$
https
://
浏览 1
提问于2015-04-27
得票数 1
回答已采纳
1
回答
Htaccess从www
重定向
到
非www,
HTTP
重定向
到
HTTPS
,
index.php
重定向
到
根目录
.htaccess
、
redirect
我正在尝试
重定向
url变体,这样就可以实现如下所示:
http
://www.example.com/
index.php
简单地
重定向
到
:
https
://example.com (即
http
到
https
;www
到
非www;以及
index.php
到
域的根目录) # Canonical
HTTPS
/non
浏览 8
提问于2020-07-19
得票数 0
1
回答
HTTP
到
HTTPS
和
Magento
上的
301
重定向
链
apache
、
.htaccess
、
magento
、
redirect
我们已经成功地从
HTTP
转移到了
HTTPS
,现在获得了一些
重定向
链。我们想直接做以下工作: 现在,首先添加w
浏览 0
提问于2014-09-01
得票数 1
2
回答
将
domain.tld/
index.php
重定向
到
domain.tld (删除
index.php
,然后再
重定向
301
)
regex
、
.htaccess
、
magento
、
mod-rewrite
、
redirect
我安装了
Magento
,并且想知道如何
将
domain.tld/
index.php
重定向
到
domain.tld?RewriteEngine on RewriteRule[R=
301
,L,NC
浏览 3
提问于2014-08-05
得票数 3
回答已采纳
2
回答
和
重定向
.htaccess
、
mod-rewrite
、
redirect
我一直在尝试将我的旧网站的旧页面
重定向
到
相应的永久
重定向
的新页面。以及
将
www.example.com
重定向
到
example.com目前,
重定向
适用于从ex www.example.com/correctlink
到
example.com/correctlink的正确链接,但只有example.com/Info.aspx
重定向
到
example.com/
浏览 2
提问于2011-11-28
得票数 0
1
回答
htaccess
将
https
重定向
到
http
,但特定页面除外
apache
、
.htaccess
、
magento
、
redirect
我想将几乎所有页面的
https
重定向
到
http
,除了结帐和帐户。我如何在我的htaccess中定义它?我试过了,但这不起作用:RewriteCond %{
HTTPS
} onRewrite
浏览 0
提问于2015-10-27
得票数 0
2
回答
在.htacces
magento
上重写non.www
到
https
到
www.
https
的规则
mysql
、
linux
、
.htaccess
、
magento
、
redirect
我想将我的网站的
重定向
到
。你能帮我把它放到.htaccess文件的代码吗?网站在
magento
。
浏览 0
提问于2016-03-31
得票数 0
1
回答
Mod_rewrite始终
重定向
到
301
apache
、
.htaccess
、
mod-rewrite
、
url-redirection
我有代码:RewriteCond %{
HTTPS
} !=on [NC]RewriteRule ^
index.php
[L] 当
http
未打开且URL不是cecabank时,我想
重定向
<
浏览 3
提问于2016-09-05
得票数 1
回答已采纳
3
回答
如何使用
index.php
删除
Magento
1.9中的
index.php
.htaccess
、
magento
、
redirect
、
mod-rewrite
、
url-rewriting
我用adpanel在配置中配置了URL-重写,使用了不同的解决方案,但最重要的是,我得到的是这些
重定向
,但是我的插件没有对网站的数据库进行任何更改(我使用了这个解决方案:RewriteCond %{
HTTP
_HOST} ^
magento
\.store$ [NC] RewriteRule ^(.*)$
http
://www.
magento
.store/$1 [L,R=
浏览 2
提问于2017-01-19
得票数 0
回答已采纳
1
回答
使用htaccess和
Magento
将
所有内容重写为
https
apache
、
.htaccess
、
magento
、
mod-rewrite
我们希望
将
Magento
中的每个页面
重定向
到
https
。我们知道如何在
Magento
中改变这一点,但我们不知道如何在我们当前的htaccess中做到这一点?[R=
301
,L,NC] RewriteCond %{
HTTP
_HOST} !^$ RewriteCond %{
HTTP
_HOST} !^w
浏览 2
提问于2014-08-15
得票数 1
1
回答
Magento
htaccess重写和
重定向
regex
、
.htaccess
、
magento
在一个基于
Magento
的电子商务网站上,我试图从网址中删除
index.php
以及
301
重定向
非www
到
www。还
301
将
非www
重定向
到
www:至:以及:RewriteRule ^(.*)$
http
://www.%{<e
浏览 1
提问于2011-05-17
得票数 3
回答已采纳
2
回答
索引覆盖-从
Index.php
重定向
错误
apache
、
.htaccess
、
redirect
、
mod-rewrite
/
index.php
,它说“页面不工作-太多的
重定向
”。我的.htaccess
将
这个问题归结为以下几点。|php)$
https
://%{
HTTP
_HOST}%{REQUEST_URI} [R=
301
,L]RewriteRule ^(.*[^/])$ /$1/
浏览 0
提问于2018-03-05
得票数 0
回答已采纳
1
回答
Apache
将
规则www重写为non+
http
到
https
+添加尾斜杠。
htaccess
、
redirects
、
301-redirect
、
codeigniter
我真的需要我的网站的以下三个功能:
HTTP
至
HTTPS
我有一个当前的实现,但是我face一个非常糟糕的bug。当我在浏览器中手动输入URL example.com/page时,浏览器
重定向
到
example.com/?page/。当然,这会打开我的主页,而不是必需的/page/。(.*)/$ # Prevent
浏览 0
提问于2020-06-27
得票数 1
回答已采纳
3
回答
我需要通过HTACCES文件将我的网站链接从
https
://ravisah.in/
index.php
重定向
到
ravisah.in
php
、
.htaccess
我希望我的网站将以下所有内容
重定向
到
ravisah.in Options +FollowSymLinksRewriteCond %{
HTTP
_HOST} ^ravisah.in[nc] RewriteRule^(.*)$
http
://www.ra
浏览 4
提问于2016-05-06
得票数 2
1
回答
从htaccess重写器中删除硬编码urls
apache
、
.htaccess
、
magento
、
mod-rewrite
我有一个包含多个规则的.htaccess,还有一个带有硬编码urls的
Magento
商店:RewriteCond %{SERVER_PORT} 802)从url中删除
index.php
:
浏览 3
提问于2015-11-19
得票数 3
回答已采纳
1
回答
从SSL中排除特定目录
apache
、
.htaccess
、
redirect
、
ssl
、
url-rewriting
我有以下URL重写在htaccess中,以
重定向
URL,首先
重定向
到
https
,然后
重定向
到
WWW (如果还没有)。使用以下代码:RewriteRule .*
https
://%{
HTTP
_HOST}%{REQUEST_URI} [L,R=
301
] RewriteCond%{
HTTP
_HOST} !%{
HTTP
浏览 5
提问于2016-04-21
得票数 1
回答已采纳
1
回答
子文件夹.htacess未覆盖父.htacess选项
apache
、
.htaccess
、
redirect
我在我的域的根目录上有一个
将
所有流量
重定向
到
index.php
的.htacess <IfModule mod_rewrite.c>RewriteEngineonRewriteRule我可以打
浏览 13
提问于2019-02-01
得票数 1
回答已采纳
1
回答
将
一个url
重定向
到
https
,并将所有其他url
重定向
到
http
apache
、
.htaccess
、
url-redirection
我正在尝试
将
一个url
重定向
到
https
,并将所有其他url
重定向
到
http
ex:如果我想访问example.com的登录页面,它应该
重定向
到
,如果我想访问除登录之外的任何页面,它们应该
重定向
到
。^(login)
http
://%{
HTTP
_HOST}%{REQUEST_URI} [NC,R=
301
,L] Directory
浏览 2
提问于2017-08-22
得票数 1
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
云直播
活动推荐
运营活动
广告
关闭
领券