[英]Redirect permanent for url with question mark(?)!
我正在尋找具有以下形式的URL的Apache重定向:
RedirectPermanent /article-111-?%C2%A0-122.html http://www.exemple.com/article-111-122.html
嘗試添加以下腳本:
<script type="text/javascript">
if(top!= self) top.location.href = self.location.href
</script>
它會工作!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.