301 issue with the %20

I have the following .htaccess file

redirect 301 /design/meetings/ http://www.venueteam.co.uk/venue-team-conferences.html
redirect 301 /design/contactus/ http://www.venueteam.co.uk/venue-team-contact-us.html
redirect 301 /design/accom/index.htm http://www.venueteam.co.uk/venue-team-accommodation.html
redirect 301 /design/top%20ten%20hotels/midlands/belfry/ http://www.venueteam.co.uk/venue-team-venues/midlands/de-vere-belfry-sutton-coldfield.html

ErrorDocument 404 /404.php

for some reason all the redirects work apart from the one with the %20 for the spaces..

can anyone help.

Shane
LVL 12
ShaneJonesAsked:
Who is Participating?
 
Tol_cvCommented:
if you put the string in quotes , you don't need %20 .. like this:

redirect 301 "/design/top ten hotels/midlands/belfry/" http://www.venueteam.co.uk/venue-team-venues/midlands/de-vere-belfry-sutton-coldfield.html

a discussion on this issue (you can find some other workarounds there ):

http://forums.digitalpoint.com/showthread.php?t=10040
0
 
ShaneJonesAuthor Commented:
Winner,,,, thank you very much Tol_cv
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.