![]() |
CMS Page at root?
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! |
Quote:
|
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 [DATE]1274476236[/DATE] at [TIME]1274476236[/TIME] --------------- oh in index.php you have an option to uncomment a line . if your useing /forums/ use that if your useing /forum/ use that |
If you have vBSEO enabled you can do it via rewrite rules without touch the core files :)
|
Thanks. I will give it a try
--------------- Added [DATE]1274587412[/DATE] at [TIME]1274587412[/TIME] --------------- Quote:
|
uh?
Was thinking of doing this, but I don't get your instructions. and what is vBSEO |
Quote:
So far there are no easy solutions. I'm doing it this way. |
Then why does vBulletin offer these instructions? 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 [DATE]1274632137[/DATE] at [TIME]1274632137[/TIME] --------------- 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 [DATE]1274634252[/DATE] at [TIME]1274634252[/TIME] --------------- 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! |
Quote:
--------------- Added [DATE]1274665122[/DATE] at [TIME]1274665122[/TIME] --------------- Quote:
|
Quote:
|
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.!
|
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'); |
All times are GMT. The time now is 06:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|