Mod Rewrite

Discussion in 'Apache' started by bobthegiant, Mar 22, 2009.

  1. #1
    I am writing a rewrite rule to send index.php to a new url as below.

    RewriteEngine on
    RewriteRule ^index.php http://www.mydomain.com/newthreadid?f=idX

    This works correctly but I would like it to mask / redirect blindly without the URL changing in the address bar to make it seems as this new url is the index page so to speak.

    I think its called masking but not entirely sure. If anyone know how its done I would appreciate it.

    Thanks!
     
    bobthegiant, Mar 22, 2009 IP