重定向.htaccess使用问号仍无效

时间:2017-02-24 09:20:17

标签: .htaccess redirect

我想重定向特定页面:

http://olddomain.com/index.php?p=70 to http://newdomain.com/newpage.php

我尝试像这样创建.htaccess但仍然无法正常工作:

Redirect 301 /index.php?p=70 http://newdomain.com/newpage.php

任何帮助将不胜感激。感谢

1 个答案:

答案 0 :(得分:0)

尝试:

#include "IE_EmbeddedVersioning.au3"
;Get Current IE Embeddable Control Version (from ieframe.dll)
Local $sIEVer = _IE_EmbeddedGetVersion(), $nIEVer = @extended
ConsoleWrite("Embedded Version = " & $sIEVer & ", as Int: " & $nIEVer & ", @error = " & @error & @CRLF)

;Current Browser Emulation Mode for this executable (if exists)
Local $nIEBEVer = _IE_EmbeddedGetBrowserEmulation()
ConsoleWrite("GetEmbeddedVersion: " & $nIEBEVer & ", @error = " & @error & ", @extended = " & @extended & @CRLF)

;Set Browser Emulation Mode for this executable (if not already set or set to a different version)
;HKCU Branch:
_IE_EmbeddedSetBrowserEmulation()
;HKLM Branch:
;~ _IE_EmbeddedSetBrowserEmulation(-1, True, True)