I would like to place my forum in a folder called (community) which works fine, however when some access the root of my site of course no page is displayed. Without doing a redirect how could I get simple portal do display at my sites root.
Forum is located (http://crohnssociety.com/community)
Would like simple portal to display at (http://crohnssociety.com/index.php)
When you use your FTP client create a sub folder called community then upload your forum files within that folder.
I understand that in fact I have already done it, I just want my simple portal to display at the root.
SimplePortal is part of your SMF forum, so you would need your whole SMF installation to be in your root directory, as you cannot have SimplePortal in a different directory as the forum itself.
Is there a way to rewrite the index.php in .htaccess so that it will redirect to /community/index.php ?
I used the following in my .htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^crohnssociety.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.crohnssociety.com$
RewriteRule ^/?$ "http\:\/\/crohnssociety\.com\/community" [R=301,L]
Is this an acceptable practice and will I still get indexed in the search engines as (http://crohnssociety.com) and not (http://crohnssociety.com/community)
If you don't already have a index.php file in your root directory
<?php
header("Location:http://mysite.com/smf");
?>
Save this as index.php and upload it to the root of your hosting space.
Thank you, thats worked great!
Glad it worked :)