Jump to content

.htaccess Question


Coreye

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.