fix urls for mod_rewrite