Redirection Help

Discussion in 'Web Design & Coding' started by Grandmaster, Oct 2, 2004.

  1. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Santa Clara, CA
    I've recently gotten myself a new domain. On my blog there are several links in posts that point to my old domain I am too lazy to go through my whole blog and change the links to point to the new domain:

    It's just too tedious.

    As the site structure is exactly the same on the new domain, all a person has to do is remove the "ofg" part from the url and the links work again. Is there a way to automatically remove the "ofg" from a link a visitor clicks on my site?

    I think I can do it with a .htaccess file, I'm not sure on that though.
  2. X-Istence

    X-Istence * Political User

    uhm, in httpd.conf add as a serveralias for and you are set, and all old links will work as will new links, or at least they should :p.