The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Mine is almost the same as Valter's.
Code:
RewriteEngine on RewriteCond %{HTTP_HOST} ^mydomain\.org RewriteRule (.*) http://www.mydomain.org/$1 [L,R=301] |
#12
|
||||
|
||||
Quote:
where do you include the "/forum" directory there so it doesnt redirect to the root domain where my forums isnt at... |
#13
|
||||
|
||||
That works for my site even though I have my site in /forums
Have you tried these? It just takes seconds to see if it works or not. |
#14
|
||||
|
||||
got it working!
had to make a minor change to that code though Thank You |
#15
|
||||
|
||||
Why don't you post what you did since it may help someone else who finds this thread.
|
#16
|
||||
|
||||
Here is what I use to redirect to my forums dir:
Code:
Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^/?$ "http\:\/\/mysite\.com\/forums\/" [R=301,L] Lynne, what is the $1 for at the end of your site url? |
#17
|
||||
|
||||
Quote:
thats just to show the page you are opening within that directory.. |
#18
|
||||
|
||||
You lost me. How does it know what page to show?
|
#19
|
||||
|
||||
Think of $1 as like a variable. You passed it a url mydomain.com/somelinkhere.php and the somelinkhere.php is the $1.
At least, that is how I think of it. |
#20
|
||||
|
||||
That is what I thought. But I don't see you setting it anywhere in the htaccess. Where does it get set?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|