Different homepage

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
holbytv
Posts: 7
Joined: Sun 6. Jun 2004, 01:34

Different homepage

Post by holbytv »

Hi there

I am looking to redirect people when people click "Home" to a file ../index.php which is not part of my phpwcms program (not the normal index.php?index file.

Any ideas?

Thanks
Peter
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

create an article under index (website start). In the article summary, set the 'redirect to' value to the page that you want to send people to when initially going to your domain.
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

use a normal index.html.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
holbytv
Posts: 7
Joined: Sun 6. Jun 2004, 01:34

Post by holbytv »

Hi guys - thanks for the response.

I am a little confused, when a person clicks "Home" in the BREADCRUMB menu option they will be redirected to index.php?index

Am I wrong?
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Ah - you mean this - that's right. There are several ways to handle this
  • rename "Home" to "whatever" in conf.template_default.inc.php
  • create only 1 article in root and set a redirection to you favorite index.html like "{SITE}index.html"
  • use the article in "home" (root) to build your real home file by using different template
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply