simple mod_rewrite .htaccess question

Discussion in 'Site & Server Administration' started by rene7705, Nov 16, 2008.

  1. #1
    i've got a domain for which i want to route everything that comes before the first subdir slash to a subdir.

    like mysite.com/wp-login.php to mysite.com/wordpress/wp-login.php
    and mysite.com/ to mysite.com/wordpress/index.php

    how can i do this?
     
    rene7705, Nov 16, 2008 IP