The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Another Rewrite Question
Hello all,
I'd like to use a second domain name to point to a specific subcategory of my forums. Can anyone assist me with the correct rewrite rules(s) for my .htaccess file? Any help is greatly appreciated. Rebecca (And before anyone asks, yes I do have two licenses ) |
#2
|
|||
|
|||
You don't need two licences to do that if your other domain name encompasses the subcategory.
Code:
RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com$ RewriteRule ^$ forumdisplay.php?f=X [L,QSA] Other URLs will work with no changes as long as your domain is correctly pointed to the server. The rewrite is only needed to change the home page on your second domain name to the forumdisplay page of that subcategory. |
#3
|
|||
|
|||
Penagate, thank you so much! This looks like exactly what I need.
The second domain has its own style, and is a subcategory of the first domain. They're set up to look like sister sites. Is this sort of thing ok under just one license? Just out of curiosity... as I mentioned I do have two licenses for this setup. But if that's the case, I wouldn't mind using the second license somewhere else. Rebecca |
#4
|
|||
|
|||
Actually, I think I was wrong. If you show or hide any subforums based on the domain name then you do need two licences. My apologies.
|
#5
|
|||
|
|||
As long as it's visible that it's not two sites, but one site with two different domains and links are still visible for the other forum(s) on it, it should be fine, but you might want to open a support ticket asking about this for a official response.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|