|
Page 1 of 1
|
Ripley
Joined: October 2009
Posts: 76
Location: Ufa
|
Redirect From Portal To Forum How To Make?
I want to make forum page main, now it is portal main. How to make it? When users go to site.com they will move to site/forum.com ?
|
#1 Thu 19 Aug, 2010 12:34 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Redirect From Portal To Forum How To Make?
open
includes/page_header.php
Find:
'U_PORTAL' => append_sid(PORTAL_MG),
Replace with:
'U_PORTAL' => append_sid(FORUM_MG),
This will redirect everybody, who clicks on Home, to Forum
other option is
you can rename Index.php to index_old.php
and create a copy of forum.php and name it index.php
____________ Out of Order
|
#2 Thu 19 Aug, 2010 14:06 |
|
TheSteffen
Joined: August 2006
Posts: 1625
Location: Magdeburg
|
Re: Redirect From Portal To Forum How To Make?
Or you can edit includes/constants.php:
define('CMS_PAGE_HOME', 'index.' . PHP_EXT);
So the link will point where you like.
____________ TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
|
#3 Thu 19 Aug, 2010 16:50 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Redirect From Portal To Forum How To Make?
maybe this would work too?
htaccess :
DirectoryIndex forum.php index.php index.html index.htm
i m not sure if this is good for icyphoenix though
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#4 Thu 19 Aug, 2010 16:55 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Redirect From Portal To Forum How To Make?
Or you can edit includes/constants.php:
define('CMS_PAGE_HOME', 'index.' . PHP_EXT);
So the link will point where you like.
But i´m not shure, it will open page directly on forum , if you point your navigator to url
____________ Out of Order
|
#5 Thu 19 Aug, 2010 17:45 |
|
Ripley
Joined: October 2009
Posts: 76
Location: Ufa
|
Re: Redirect From Portal To Forum How To Make?
other option is
you can rename Index.php to index_old.php
and create a copy of forum.php and name it index.php
And when the new version of ICY releases will I be able to update after doing this?
I just don't need portal page, it confuses users and not all of them go to forum then, and the main page is forum surelly. When I installed ICY I thought this can change in in ACP.
|
#6 Fri 20 Aug, 2010 06:46 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Redirect From Portal To Forum How To Make?
thats why i said rename it
because , if you need it again, you just delet the copy of forum (index) and rename index_old to index again
____________ Out of Order
|
#7 Fri 20 Aug, 2010 08:04 |
|
Ripley
Joined: October 2009
Posts: 76
Location: Ufa
|
Re: Redirect From Portal To Forum How To Make?
thats why i said rename it
because , if you need it again, you just delet the copy of forum (index) and rename index_old to index again
I did not copy forum.php , just rename it to index.php and index.php to index_old.php
And it works!
I will delete link to portal or change it to something else Thank you very much
|
#8 Fri 20 Aug, 2010 08:28 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Redirect From Portal To Forum How To Make?
you might get a problem now, if you click on forum, because the link goes nowhere, thats why i said make a copy of forum
____________ Out of Order
|
#9 Fri 20 Aug, 2010 10:21 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7191
Location: Borgo San Michele
|
Re: Redirect From Portal To Forum How To Make?
You will also have SEO problems if you don't do it properly.
Changing the constant in constants.php is better.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#10 Tue 31 Aug, 2010 12:45 |
|
Ripley
Joined: October 2009
Posts: 76
Location: Ufa
|
Re: Redirect From Portal To Forum How To Make?
You will also have SEO problems if you don't do it properly.
Changing the constant in constants.php is better.
What must I change in constants.php?
|
#11 Tue 31 Aug, 2010 15:32 |
|
buldo
Joined: August 2006
Posts: 474
Location: Borgo San Michele
|
Re: Redirect From Portal To Forum How To Make?
What must I change in constants.php?
Or you can edit includes/constants.php:
define('CMS_PAGE_HOME', 'index.' . PHP_EXT);
So the link will point where you like.
____________ ~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
|
#12 Tue 31 Aug, 2010 16:25 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|