I have elgg installed under /var/www/html/elgg.
I have the data directory under /var/www/html/
I have a .htaccess file under /var/www/html
and finally
I have the data directory under /var/www/html/
To access my site, I have to go to http://www.mysite.com/elgg
How can I make it so I can directly to elgg from http://www.mysite.com?
The site is installed on my own linux server that runs ClarkConnect.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
you can use http redirection. If u use cpanel you can find it there.
ClarkConnect does not have Cpanel.
what about an index.html file with a refresh directive in /
<META HTTP-EQUIV="Refresh"
CONTENT="0; URL=http://mysite/elgg/"/>
I'm having this problem too, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"