RussW Posted November 14, 2006 Share Posted November 14, 2006 I have registered .com, .biz, and .net.What I am trying to do is redirect the visitor to a sub folder without showing the subfolder so...mysite.com/folder1/index.php will look like mysite.com/index.phpmysite.biz/folder2/index.php will look like mysite.biz/index.phpmysite.net/folder3/index.php will look like mysite.net/index.phpDoes anybody know how I can do this with a .htaccess mod rewrite? Quote Link to comment https://forums.phpfreaks.com/topic/27238-sub-folders/ Share on other sites More sharing options...
AdRock Posted November 24, 2006 Share Posted November 24, 2006 I'm far from an expert but I have got my mod rewrite to work. Don't know if this will work but give it a tryOptions +FollowSymLinksRewriteEngine onRewriteBase /RewriteRule ^/?([a-zA-Z_]+)$ /folder1/index.php [NC,L] Quote Link to comment https://forums.phpfreaks.com/topic/27238-sub-folders/#findComment-129704 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.