1
我有鏈接,都是這種格式:http://www.EXAMPLE.com/index.php?page=pageid 他們也可在:http://www.EXAMPLE.com/?page=pageidhtaccess的重寫強制的index.php
我如何可以重定向那些沒有在index.php文件名使用的index.php部分網址?
我在我的htaccess文件中有其他重定向規則,它們工作正常,我只是不知道如何強制index.php部分幷包含查詢字符串。
這不起作用。它沒有重定向我最初發布的鏈接,並且打破了它不應該鏈接的鏈接。 –
我通過添加另一個條件來限制此規則的範圍。讓我知道這個是否奏效。 –
好吧,現在完美。非常感謝你的幫助。 –