Redirecting portal.php to domain name with htaccess

Discussion in 'Site & Server Administration' started by 993ti, Oct 2, 2006.

  1. #1
    My site is using a portal and uses this code in htaccess so when going to the domain, it goes to the portal:
    DirectoryIndex portal.php index.php index.html
    Code (markup):
    I'm not linking to portal.php anywhere since that code already takes care of that and instead every link to the homepage goes to the domain.

    Recently i checked if portal.php has any PR and it does (PR2).
    How can i use htaccess so that PR isn't transferred to portal.php but to my domain?
     
    993ti, Oct 2, 2006 IP