• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Page as homepage

#1
Is there an easy way or tutorial to make a page the homepage?
I know I can set the home page url but I would like to have it so if someone goes to blahblah.com they will go straight to my page.
 

Jake Bunce

XenForo moderator
Staff member
#2
A simple index.php file in the web root can redirect to any URL:

Code:
<?php

header("Location: http://www.apple.com/");

?>
 

Jake Bunce

XenForo moderator
Staff member
#8
A page node?

For the purpose of reassigning the index, the route changer addon works for "simple" routes without any extra parameters, but not routes like page nodes which have both a route and action (you will end up with index/nodename/, where the 'index' route is no longer invisible in the URL). If you create a small addon with its own simple route then you can use the route changer on that.

If you don't care about URL aesthetics then you can do like Brogan:

http://xenforo.com/community/threads/create-start-page-like-xenforo.31915/#post-364960