Other Way of redirecting

Discussion in 'Tips/Tricks/Mods' started by Ben, Jul 25, 2006.

  1. Ben

    Ben ISPConfig Developer ISPConfig Developer

  2. falko

    falko Super Moderator ISPConfig Developer

  3. wr19026

    wr19026 New Member

    So if I want to use htaccess to do the redirect all I have to do is add Redirect 301 /old/old.html http://www.you.com/new.html in an .htaccess file. Nice!

    Would this mean that I need to create the .htaccess file in /var/www/web1 with the following statement?
    Redirect 301 /var/www/web1/web/old.html http://www.mydomain.dom/new.html
     
  4. falko

    falko Super Moderator ISPConfig Developer

    It's /var/www/web1/web or any subdirectory of it.
     

Share This Page