1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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