• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

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
0
ShaneJones
Asked:
ShaneJones
1 Solution
 
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now