solved How do I get my new SiteBuilder-built home page to be the default?

alt=
LesRinchen
@lesrinchen
8 years ago
109 posts
I created a new home page for my site with Site Builder and mapped it to the Home menu item. Now, if I'm logged in and click on the Home menu link, I get my new home page just fine. BUT if I leave the site then come back while still logged in, it shows me the old default home page. That's at index.tpl in my NingJa skin, right?

How do I get my new Site Builder built home page to be the default? Do I need to replace index.tpl? Or put redirect code somewhere?


updated by @lesrinchen: 12/22/16 11:55:59AM
michael
@michael
8 years ago
7,714 posts
Sounds like a caching issue to me:
ACP -> MODULES -> CORE -> SYSTEM CORE -> TOOLS -> RESET CACHES

What you did should stick.
michael
@michael
8 years ago
7,714 posts
I see the issue, you have the URL for your "Home" link in your header pointed to the /home2 url.

So you've created the page at /home2.

What you want to do is go to /

So go to your-site.com/ then click the SITE BUILDER button from there and over-ride the existing / page.

Then in your MENU EDITOR make the "Home" link point to /
alt=
LesRinchen
@lesrinchen
8 years ago
109 posts
I see... In my first experiments with Site Builder and all the various widgets, I wasn't ready to override the original home page... and I wanted to be able to look back and forth between the pages as I was working so I could understand what was working and what wasn't. That's why I made a new URL. And it's taken a few days (with lots of help from you and Paul, thank you) to get all the widget settings just right.

Are you saying that now, to override the existing / page, I have to rebuild anew starting from your-site.com/? Is there no way to move or copy the page I've already put so much time into? Just making sure I understand before I start over.
michael
@michael
8 years ago
7,714 posts
I'm saying, that what happens on a server when its not told where to go, is that it has a system.

When you ask to go to some-site.com/ that that is not a real full url. Its like asking your husband "could you go to the shops and get me a." It doesn't really know what to do, it sort of does, but is uncertain.

The system servers use when given partial instructions is to complete them for you. The location they go to is called the 'index page'. (Its called that because what used to happen was a server would display an index or list of files that exist at that location and you would then pick one to go to.)

So when you click on site.com/home as is linked to by your "Home" link it points to a full url. When there is not a full url, the index shows.

If you wanted to keep the contents of the index.tpl page as a reference, you could copy the file to reference.tpl then access it at your-site.com/reference
michael
@michael
8 years ago
7,714 posts
LesRinchen:...Are you saying that now, to override the existing / page, I have to rebuild anew starting from your-site.com/? Is there no way to move or copy the page I've already put so much time into? Just making sure I understand before I start over.

Ah, the question is: How do I change the URL of a page.
A: Go to the page you built with site builder, click on the SITE BUILDER button.
PAGE CONFIG -> PAGE SETTINGS -> Page URL

Change that from /home to just /

SAVE CHANGES.
alt=
LesRinchen
@lesrinchen
8 years ago
109 posts
Thanks, Michael. Sorry to be so rudimentary. This is all very new to me. Your second response answers my question.
michael:
A: Go to the page you built with site builder, click on the SITE BUILDER button.
PAGE CONFIG -> PAGE SETTINGS -> Page URL
Change that from /home to just /
SAVE CHANGES.

Done and it works.
michael
@michael
8 years ago
7,714 posts
nice. its not rudimentary, not many people know that exists I suspect. After that its me having difficulty pin pointing the question. :)

Glad you're sorted.

Tags