The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
htaccess 301 redirects
I have an issue with my forum, everything is installed on .com but we have to point everything to .co.uk including the forum. When i add the redirects and go to the forum when i go to login it says thanks and redirects but it kicks me back to the forum like i have not logged in?
RewriteCond %{HTTP_HOST} ^www.mydomain.com [NC] RewriteRule ^(.*)$ http://www.mydomain.co.uk/$1 [R=301,L] If i change the vbsettings for forum to the .co.uk it does not work If i go to the .com domain and login its fine? What i want is the forum to just be .co.uk and users to be able to login. If i manually put in http://www.mydomain.co.uk/admincp/index.php and login it kicks me back to the same login page, if i replace the .co.uk with .com it works fine. |
#2
|
|||
|
|||
At the end of the day, will you be using the .com and .co.uk addresses simultaneously? Or just one?
|
#3
|
|||
|
|||
Hi Bradley i got this resolved at vbulletin.com,
What do you have entered in for your cookie domain under Settings -> Options -> Cookie and HTTP Header Options? Cookie rules, enforced by the browser, do not allow sharing cookies between .com and .co.uk. I suggest leaving the cookie domain blank and it should allow users to login at the .co.uk domain. If you still have problems, set the URL of your site under Settings -> Options -> Sitename / URL / Contact Details to point to the .co.uk domain name. |
#4
|
|||
|
|||
Glad it's sorted out.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|