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
https://forums.phpfreaks.com/topic/77589-htaccess-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.