View Full Version : CMS in root?
cykelmyggen
01-15-2010, 05:26 AM
I want to replace my current CMS with the vb CMS.
When I upgrade my forum to vb 4 I want to accomplish, due to SEO, the same map structure as I currently have:
www.mysite.com/vbforum/ - where I want the CMS to be at the root of my site and my forum at the vbforum as it is currently.
I don't quite understand the last statement for fixes in vb 4.01:
" [CMS] Please put CMS in /index.php and FORUMS in /forums/index.php" ...?
I need guidance as to how i upgrade my site and at the same time maintain the structure described above.
Of cause I have been reading the threads on support forum regarding this problem, but I'm sorry to say that it hasn't made me wiser as to how this could be done.
I've posted a supportticket at vB on this problem and the answer was:
"The vB4 CMS resides in the same directory as the forum. You can do some custom
coding to display the CMS outside of the forum directory, but you will need to post
on www.vbulletin.org for help with that."
Please correct me if this is not the right forum for posting!
Vaupell
01-15-2010, 10:12 AM
i do belive what whoewer responded with such poor support should be beaten.
however ALOT of people want to do this,
and one possible way is to use .htacces and use redirects
it will "show" the user as if the folder structure is present, ewen if it is not.
and find it ewen more strange they redirect to here, when its basicly standard installation
were talking about.. anyway.
Howewer i cant find the threads anymore. there was quite a few about this.
Didnt read them, cause i just placed it all in same folder. anyway
so i can only advice to read up on, htacces redirects,
Seven Skins
01-15-2010, 10:14 AM
I think in vb4.0.1 you can edit index.php and it may do the trick but I havent tried it yet.
.
crazycarl
01-15-2010, 01:03 PM
Upgrade to 4.0.1 software and open your index.php. There are instructions in the file on how to do it. You need to un-comment a line and then move the file. READ THE INSTRUCTIONS.
It works just fine but remember to change your CMS setting in the ACP>Options> Content Management>Site Tab URL> to reflect the link changes to root (../). Otherwise your home button will still link to the /forums/content.php.
Now I'm trying to find a way to make the /forums/forums.php = forums/index.php so the forums url will just look like:
www.domain.com/forums/
NOthing seems to be too easy with the new software. Such is the price for early birds and early releases!
GLuck!
CC
Lynne
01-15-2010, 01:36 PM
Please post any further questions regarding default vB4 functionality over at vbulletin.com. See this sticky - Installation Issues / Questions or bug reports regarding default vBulletin 4.0 (https://vborg.vbsupport.ru/showthread.php?t=228035)
cykelmyggen
01-15-2010, 03:58 PM
Will do - I only posted this here due to answer from vB support:
"The vB4 CMS resides in the same directory as the forum. You can do some custom
coding to display the CMS outside of the forum directory, but you will need to post
on www.vbulletin.org for help with that."
Bram H
01-15-2010, 04:24 PM
Typical reaction you got from them :(
I had more or less the same problem as our 3.8 forum was always located in forum.mysite.com and the CMS of 4.0 surprisingly showed up there as well. With the good old vbadvanced you could make a homepage at www.mysite.com. Unfortunately 4.0 doesnt support that.
Our CMS is now back to www.mysite.com as we have put the whole forum folder one layer up. It might have a temporary effect on your SEO but we hopefully have tackled that with this handy article on the interweb. Maybe it will work for you as well?
http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm
Lynne
01-15-2010, 04:51 PM
Will do - I only posted this here due to answer from vB support:
"The vB4 CMS resides in the same directory as the forum. You can do some custom
coding to display the CMS outside of the forum directory, but you will need to post
on www.vbulletin.org (http://www.vbulletin.org) for help with that."
And when did you get that reply? They just added support for this in 4.0.1 which was just released a couple days ago.
cykelmyggen
01-15-2010, 04:57 PM
And when did you get that reply? They just added support for this in 4.0.1 which was just released a couple days ago.
Yesterday, actually ;)
Lynne
01-15-2010, 05:04 PM
Hmmm, weird, because if you open the index.php file, it has instructions on how to achieve this. There are also threads over on vb.com on how to do this.
cykelmyggen
01-15-2010, 08:06 PM
Thanks for all your useful posts in this thread, which will definitely help me go on with my "project" :up:
jefferis
09-08-2011, 08:21 PM
HI folks, in version 4.1.5, there are instructions in the index.php file for changing the location of the CMS page, and I've followed them as best I can. I placed the index.php at the root, one level up from my forums. I uncommented the line in the index file to read:
define('VB_RELATIVE_PATH', 'vBforum'); which is the location of our forums.
Cookies are set to /
In the URL settings in Admin I set it to our root: http://www.igotaevo.com
As far as I can tell, there is no need to do rewrites for urls in the latest version or to upload the vb_dir.php file as in the past....
Anyone have a current tutorial or idea on what might be going wrong?
the error I'm getting is: Parse error: syntax error, unexpected T_STRING in /home/igotaevo/public_html/index.php on line 1
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.