我想从一个仍然出现在谷歌搜索中的旧网址重定向到新网址。旧的URL是:

http://www.marionettecolla.org/file%20_mostra_milano/mostra_marionette-milano.htm

我想把它重定向到主页:
http://www.marionettecolla.org/

我在.htaccess中使用过:
Redirect http://marionettecolla.org/file\ _mostra_milano/mostra_marionette-milano.htm http://marionettecolla.org/

但我收到错误500…有人知道怎么解决这个问题吗?

最佳答案

你不能像那样逃离空间。正确的方法是“s”。
尽管我不确定在htaccess文件中用“\s”代替空格是否会起作用。请告诉我它是否有效。

09-30 11:04