TinyPortal

Development => Support => Topic started by: bigb on January 02, 2007, 10:53:30 PM

Title: Best way to redirect index page for TP
Post by: bigb on January 02, 2007, 10:53:30 PM
I am in need of some advice. 

I know Google does not like a redirects on a site but I would like to make the tiny portal frontpage my main page.  TP and SMF are installed on my site in a sub dir like http://www.mysite.com/smf/index.php   

I have two options
1 - Move everything in my SMf folder to my root folder and hope everything goes well.
2 - Use some form of a redirect like this.


Quote<?php
header( 'Location: http://www.mysite.com/smf/index.php' ) ;
?>

Which is the best way to go about this and keep the search engines happy and not make me want to rip my hair out.  If I have to move everything from SMF to the root folder is this going to be difficult? 

Is there and option 3 I just don't know about.  What's the best way to do this?

Thanks for the help!
Title: Re: Best way to redirect index page for TP
Post by: Lesmond on January 03, 2007, 12:06:36 AM
You can move your forum to your root, all you would need to do download repair_settings.php from SMF and run it from root i.e http://www.mysite.com/repair_settings.php
Title: Re: Best way to redirect index page for TP
Post by: gerrymo on January 03, 2007, 11:05:04 AM
bigb, its all very easy to do. Do a search ehre. it been discussed many times before. Also search SMF as there's a full topic on it there, with step by step instructions on how to do it all.