View Full Version : CMS Page at root?
twitch
05-21-2010, 07:51 PM
How do I make the CMS Homepage default page for root of site?
My forums are located at www.mysite.com/forum and I want the CMS page to load at www.mysite.com
How can I make that happen?
Thanks!
borbole
05-21-2010, 08:05 PM
How do I make the CMS Homepage default page for root of site?
My forums are located at www.mysite.com/forum and I want the CMS page to load at www.mysite.com
How can I make that happen?
Thanks!
I think I have seen an article at vb.com about doing that but can''t remember the exact link. you might want to have a look there.
your24hourstore
05-21-2010, 08:07 PM
its easy really you just uncomment a line in the index.php file located in root/forums/
then you move that file to root :>
--------------- Added 1274476236 at 1274476236 ---------------
oh in index.php you have an option to uncomment a line . if your useing /forums/ use that if your useing /forum/ use that
Rafa-el
05-21-2010, 11:05 PM
If you have vBSEO enabled you can do it via rewrite rules without touch the core files :)
twitch
05-22-2010, 04:20 PM
Thanks. I will give it a try
--------------- Added 1274587412 at 1274587412 ---------------
its easy really you just uncomment a line in the index.php file located in root/forums/
then you move that file to root :>
--------------- Added 1274476236 at 1274476236 ---------------
oh in index.php you have an option to uncomment a line . if your useing /forums/ use that if your useing /forum/ use that
worked like a charm Thanks!
Hummie
05-23-2010, 02:05 PM
uh?
Was thinking of doing this, but I don't get your instructions.
and what is vBSEO
steven s
05-23-2010, 02:50 PM
How do I make the CMS Homepage default page for root of site?
My forums are located at www.mysite.com/forum and I want the CMS page to load at www.mysite.com
How can I make that happen?
Thanks!Bottom line, no.
So far there are no easy solutions.
I'm doing it this (http://www.happytogether.com/vb) way.
Hummie
05-23-2010, 03:26 PM
Then why does vBulletin offer these instructions (http://www.vbulletin.com/docs/html/options_contentmanagement)? I would think they would work if vBulletin put them in their help files.
I am trying it right now though and cannot get it to work.
I get this on my homepage: Parse error: syntax error, unexpected T_DEFAULT in /home/content/h/u/m/humyadayada/html/index.php on line 4
--------------- Added 1274632137 at 1274632137 ---------------
And all over vbulletin.com it references these same files, yet has <?#shebang#?> in front of each of the coding, yet the vBulletin instructions for the scripts do not have this. What in the world is that? Do I need it?
--------------- Added 1274634252 at 1274634252 ---------------
OH WOW! I just figured it out and it was easier than all that mess!
I just copied the .index.php file to my desktop and read what it said about deleting the "//" from that one line (they call it an "uncomment") and uploaded it to my root! It worked!
your24hourstore
05-24-2010, 12:36 AM
Then why does vBulletin offer these instructions (http://www.vbulletin.com/docs/html/options_contentmanagement)? I would think they would work if vBulletin put them in their help files.
I am trying it right now though and cannot get it to work.
I get this on my homepage: Parse error: syntax error, unexpected T_DEFAULT in /home/content/h/u/m/humyadayada/html/index.php on line 4
--------------- Added 1274632137 at 1274632137 ---------------
And all over vbulletin.com it references these same files, yet has <?#shebang#?> in front of each of the coding, yet the vBulletin instructions for the scripts do not have this. What in the world is that? Do I need it?
--------------- Added 1274634252 at 1274634252 ---------------
OH WOW! I just figured it out and it was easier than all that mess!
I just copied the .index.php file to my desktop and read what it said about deleting the "//" from that one line (they call it an "uncomment") and uploaded it to my root! It worked!
your funny didnt you read my post ?
--------------- Added 1274665122 at 1274665122 ---------------
Bottom line, no.
So far there are no easy solutions.
I'm doing it this (http://www.happytogether.com/vb) way.
you really think thats easier than uncommenting one line in index,php and moveing to the root folder?
Hummie
05-24-2010, 04:47 PM
your funny didnt you read my post ?
Yes, I did read your post, but I didn't understand it, that's why I replied "uh?" ...I guess I should have quoted you with that "uh." Sorry!
your24hourstore
05-24-2010, 08:49 PM
i was just kidding you know but, you will find the cms is going to have a bit of a cookie issue, you will Hardey ever be logged out unless you do it manually, its a tough cookie , at least thats how my boar is useing it, but i dont really find that a problem.!
danyol1706
10-03-2010, 08:43 PM
I have index.php in my root with the following config, but my homepage still defaults to the Forums, not the CMS page. Am I missing a setting in options?
/**
* Use the CMS as the default script:
*/
require('content.php');
/**
* Use the forum as the default script:
*/
// require('forum.php');
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.