我只是想從例如www.example.com/example到另一個URL。
我這個index.html的在example.com/example測試,它看起來像這樣:HTML META REDIRECT to old URL
<html>
<head>
<title>TITLE</title>
<meta http-equiv="refresh" content="0; url=http://sample.org/sample">
</head>
Goto to URL <a href="http://sample.org/">http://sample.org/sample</a>
manually.
</html>
它的工作就好了。然後我將「http://sample.org/sample」URL更改爲我想要重定向到的URL。 但存在問題。它仍然將example.com/example重定向到sample.org/sample,而不是實際的。
我試圖清除Firefox中的現金,歷史記錄和cookie,並用「ipconfig/flushdns」做了DNS-Flush。 我也刪除了文件夾示例並將其創建爲新的。但沒有任何幫助。
當我訪問example.com/example/index.html時,它會重定向到我想要的URL。但是如果我訪問example.com/example,它仍然會重定向到不需要的sample.org/sample。
任何膠水如何解決這個問題?