Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-20 05:47:46

argentorange
Member
Registered: 2006-10-09
Posts: 12

Setting my Homepage to another Section/page besides Default?

Hi,

I folded my static website into a Textpattern blog. Unfortunately, I found out that the only way I can set my static website’s home page to show first is if I set it as the Default. Naturally, my blog’s Search Result didn’t like this. Now I’ve set my static homepage as section /home/ and my blog as section /blog/

Is there some way I can show /home/ first instead of “default” when anyone visits http://www.argentofchange.com/ ?

This is the page I want to show up first : http://www.argentofchange.com/home/

Thanks very much!

Offline

#2 2006-11-21 05:46:55

argentorange
Member
Registered: 2006-10-09
Posts: 12

Re: Setting my Homepage to another Section/page besides Default?

Aiee, it seems I’m not the only one who wants the Default section and FrontPage to be separated. It’s an official feature request!
http://forum.textpattern.com/viewtopic.php?id=15276

But seriously, is there any way I can hack at this thing (even using htaccess) so I can get my domain to point to where it needs to be? i tried twiddling with htaccess but it…just…doesn’t…work.

Offline

#3 2006-11-21 09:17:57

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,168
Website GitHub Mastodon Twitter

Re: Setting my Homepage to another Section/page besides Default?

There is the glx_if plugin for now


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2006-11-21 11:14:46

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Setting my Homepage to another Section/page besides Default?

“Official” huh? hehe

But yes, I want this myself.

Offline

#5 2007-01-18 18:08:51

joel
Member
Registered: 2004-11-26
Posts: 162

Re: Setting my Homepage to another Section/page besides Default?

Bumping this thread…

Is there any way of doing this via .htaccess

What about DirectoryIndex ?

Offline

#6 2007-01-19 09:48:29

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Setting my Homepage to another Section/page besides Default?

Is there any way of doing this via .htaccess

What about DirectoryIndex ?

Er, why do you think you want this? As one of my favourite movie characters said: “I do not think it means what you think it means.” I’m pretty certain argentorange was also confusing this with the feature request he linked to. :)

For instance, yes, the search does use the default page, but you can easily use if_search to make the front page and search results page look different. You could also direct searches to their own section entirely using search_input.

Does that cover what you’re trying to achieve, or are you after something else?

Offline

#7 2007-01-19 13:08:05

joel
Member
Registered: 2004-11-26
Posts: 162

Re: Setting my Homepage to another Section/page besides Default?

No it is not. My default section is “Start”. The problem is with my nav-plugin <txp:cbs_navigation_menu>. I want the “Start”-tab to be active both when the visitor clicks the start-tab (http://www.mydomain.com/start) and when navigating to http://www.mydomain.com cause its the same section.

If I could redirect my visitors from http://www.mydomain.com to http://www.mydomain.com/start the problem would be solved.

Offline

Board footer

Powered by FluxBB