htaccess redirect when there is a space in url

Posted by Mahsa Teimourikia on Stack Overflow See other posts from Stack Overflow or by Mahsa Teimourikia
Published on 2012-10-01T09:32:44Z Indexed on 2012/10/01 9:37 UTC
Read the original article Hit count: 212

Filed under:
|
|
|
|

I want to redirect from a old url which still appears in the google search to the new one. the old url is this:

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

and I want to redirect it to the home page:

http://www.marionettecolla.org/

I used this in my .htaccess:

Redirect http://marionettecolla.org/file\ _mostra_milano/mostra_marionette-milano.htm http://marionettecolla.org/

but I am getting Error 500... Does anybody know how to solve this problem?

© Stack Overflow or respective owner

Related posts about html

Related posts about .htaccess