The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forum redirecting to mydomain.com with out www
Whenever I type in http://www.mydomain.com/forum, it sends me to http://mydomain.com/forum.
I'm trying to write some PHP that checks if a user is logged in, but of course it doesn't track it properly when I change subdomains like that. So as I go back to my file I'm going to http://www.mydomain.com/logged_in.php, and the cookies were set for http://mydomain.com. Checked everything in the admin cp, it has the leading www in front of it. Any suggestions on how to fix this subdomain/redirecting issue? |
#2
|
||||
|
||||
Do you have an .htaccess performing a rewrite on the domain?
|
#3
|
|||
|
|||
Only if vBulletin sets that up naturally.
I don't see .htaccess files, but I'm not in a shell, so I may not be able to see everything in the directory. |
#4
|
||||
|
||||
Alright, well let's look at it this way. You navigate to the www. While logged off, what do the links look like on the index page? Are they all www or just the domain.com?
|
#5
|
|||
|
|||
If your hosting account comes with CPanel, you can use the File Manager in there to get to the .htaccess file.
If you cannot get into the .htaccess file. Get you WebHost to set it up so that all requests for mydomain.com permanently redirects to www.mydomain.com. Alternatively, run your site without the 'www'. Then go into AdminCP, vBulletin Options-> SiteName / URL / Contact Details and change the Forum URL and Home Page URL so they don't have 'www'. If you have other web software, they'll need looking at too. |
#6
|
||||
|
||||
change the forum name/location in vb options.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|