Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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 ?
 



 
RipleySend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirect From Portal To Forum How To Make? 
 
Or you can edit includes/constants.php:

Code: [Download] [Hide] [Select]
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
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirect From Portal To Forum How To Make? 
 
maybe this would work too?  
htaccess :

Code: [Download] [Hide] [Select]
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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirect From Portal To Forum How To Make? 
 
TheSteffen wrote: [View Post]
Or you can edit includes/constants.php:

Code: [Download] [Hide] [Select]
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
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirect From Portal To Forum How To Make? 
 
spydie wrote: [View Post]





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.
 



 
RipleySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirect From Portal To Forum How To Make? 
 
spydie wrote: [View Post]
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  
 



 
RipleySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirect From Portal To Forum How To Make? 
 
Mighty Gorgon wrote: [View Post]
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?
 



 
RipleySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirect From Portal To Forum How To Make? 
 
Ripley wrote: [View Post]
What must I change in constants.php?


TheSteffen wrote: [View Post]
Or you can edit includes/constants.php:

Code: [Download] [Hide] [Select]
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!!"
 
buldoSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron