301 issue with the %20

Posted on 2006-06-08
Last Modified: 2010-03-04
I have the following .htaccess file

redirect 301 /design/meetings/
redirect 301 /design/contactus/
redirect 301 /design/accom/index.htm
redirect 301 /design/top%20ten%20hotels/midlands/belfry/

ErrorDocument 404 /404.php

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

can anyone help.

Question by:ShaneJones
    LVL 4

    Accepted Solution

    if you put the string in quotes , you don't need %20 .. like this:

    redirect 301 "/design/top ten hotels/midlands/belfry/"

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

    Author Comment

    Winner,,,, thank you very much Tol_cv

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
    Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now