【问题标题】:Redirect permanent for url with question mark(?)!使用问号(?)重定向永久网址!
【发布时间】:2012-12-20 00:20:22
【问题描述】:

我正在寻找具有这种形式的 URL 的 Apache 重定向:

RedirectPermanent /article-111-?%C2%A0-122.html http://www.exemple.com/article-111-122.html

【问题讨论】:

  • 你应该改进你的问题,添加所有必要的线索来给你一个正确的答案。

标签: regex .htaccess redirect


【解决方案1】:

尝试添加这个脚本:

<script type="text/javascript">
    if(top!= self) top.location.href = self.location.href
</script>

它会起作用的!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-01-24
    • 2016-04-05
    • 1970-01-01
    • 1970-01-01
    • 2011-03-24
    • 2021-11-10
    • 2014-06-19
    • 1970-01-01
    相关资源
    最近更新 更多