vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   CMS Page at root? (https://vborg.vbsupport.ru/showthread.php?t=243069)

twitch 05-21-2010 07:51 PM

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!

borbole 05-21-2010 08:05 PM

Quote:

Originally Posted by twitch (Post 2041589)
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 [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

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 [DATE]1274587412[/DATE] at [TIME]1274587412[/TIME] ---------------

Quote:

Originally Posted by harleyparts (Post 2041601)
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

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

Quote:

Originally Posted by twitch (Post 2041589)
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 way.

Hummie 05-23-2010 03:26 PM

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!

your24hourstore 05-24-2010 12:36 AM

Quote:

Originally Posted by Hummie (Post 2042275)
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!

your funny didnt you read my post ?

--------------- Added [DATE]1274665122[/DATE] at [TIME]1274665122[/TIME] ---------------

Quote:

Originally Posted by steven s (Post 2042267)
Bottom line, no.
So far there are no easy solutions.
I'm doing it this 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

Quote:

Originally Posted by harleyparts (Post 2042464)
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!


All times are GMT. The time now is 11:39 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
  • Page Generation 0.01699 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete