Coreye Posted November 16, 2007 Share Posted November 16, 2007 Hey guys, I have the same domain name but one is a .com and one is a .net. The .com one is parked. I have a subdomain, is there any way to get this to work; http://us.scriptscribes.net works, but I want http://us.scriptscribes.com to work also. I would want this to work also though; http://us.scriptscribes.net/site:Downloads works but would need this to work: http://us.scriptscribes.com/site:Downloads. Here is my current .htaccess; RewriteRule ^site:(.*)/(.*)/(.*)/(.*)$ site.php?module=$1&page=$2&op=$3&ex=$4 [L] RewriteRule ^site:(.*)/(.*)/(.*)$ site.php?module=$1&page=$2&op=$3 [L] RewriteRule ^site:(.*)/(.*)$ site.php?module=$1&page=$2 [L] RewriteRule ^site:(.*)$ site.php?module=$1 [L] RewriteRule ^_(.*)/(.*)/(.*)/(.*)$ site.php?module=$1&page=$2&op=$3&ex=$4 [L] RewriteRule ^_(.*)/(.*)/(.*)$ site.php?module=$1&page=$2&op=$3 [L] RewriteRule ^_(.*)/(.*)$ site.php?module=$1&page=$2 [L] RewriteRule ^_(.*)$ site.php?module=$1 [L] Thanks, Corey Quote Link to comment https://forums.phpfreaks.com/topic/77589-htaccess-question/ 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.