technical question re: websites

Is there any convenient way to do a mass-redirect on various URLs? Basically, I want to simplify the directory structure of my site, such that everything which used to be becomes But people may have bookmarked particular links, and I’d like them to be automatically redirected when they try the old URL. What I don’t know is whether there’s any simple method for achieving this. Help?

0 Responses to “technical question re: websites”

  1. ckd

    Depends on your server setup; with Apache httpd, this would be a fairly simple one-liner using RedirectMatch.

    RedirectMatch permanent /marie(/.*)$1

    • Anonymous

      Yup, this is the way to do it. However, depending on your hosting company, it may be difficult to convince them to do this for you.

Comments are closed.