I installed elgg on my host site and put it in a directory named elgg. Like so:
www.mysite.com/elgg/elgg-1.7.1/ It's been up and running with members etc.
Is there a simple way to move the site to have it as the root domain - Change "www.mysite.com/elgg/elgg-1.7.1/" to this "www.mysite.com" ????
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.
- Cash@costelloc
Cash - 0 likes
- Evan Winslow@ewinslow
Evan Winslow - 0 likes
- chowser@chowser
chowser - 0 likes
- chowser@chowser
chowser - 0 likes
- chowser@chowser
chowser - 0 likes
- Cash@costelloc
Cash - 0 likes
- chowser@chowser
chowser - 0 likes
- Evan Winslow@ewinslow
Evan Winslow - 0 likes
- chowser@chowser
chowser - 0 likes
- chowser@chowser
chowser - 0 likes
You must log in to post replies.It is like moving the site except it will be on the same server. You will need to do a small subset of what's listed here: http://docs.elgg.org/wiki/Duplicate_Installation
It should be as easy as moving the code to your root directory and changing the root url.
Also, any internal links would have to be rewritten or an .htaccess rule made in order to preserve backward compatibility, but that may not be an issue.
Thanks guys, muy helpful.
OK I've tried the duplication twice and got the same result. The moved site loads but there is only text and images on the page (no theme no structure) and I can't login etc.
Disregard last post. I reimported the db and the site is loading normally - but yes the internal links continue to point to the old location - upon login.
I'll have to research how to write an access rule for the .htaccess file I guess.
@chowser - what links are those? The only links that should point to the old urls are those used by members (like posting a link in a blog post).
The new url that I moved the site to works but when I login the address goes to the old location.
I moved everything to; mysite.com/main/page
but when I login from there it sends me to the old url; mysite/elgg/elgg1.71/
Sounds like you haven't updated the site url in the sites_entity table.
Ok I replaced the url in the site_entity table and it seems about half of the site is functioning ok. But my dashboard widgets and settings and adminstration features all give the same error:
Fatal error: Cannot redeclare class IOException in /home/mysite/public_html/elgg/elgg-1.7.1/engine/lib/exceptions.php on line 22
FYI I basically no nothing about DB commands and or programming.
Anyone want to take at this crack at this one?
Ok I replaced the url in the site_entity table and it seems about half of the site is functioning ok. But my dashboard widgets and settings and adminstration features all give the same error:
Fatal error: Cannot redeclare class IOException in /home/mysite/public_html/elgg/elgg-1.7.1/engine/lib/exceptions.php on line 22