ElkArte Community

General => Chit Chat => Topic started by: ahrasis on January 12, 2018, 09:46:09 pm

Title: Move Forum To Sub Folder For Nginx
Post by: ahrasis on January 12, 2018, 09:46:09 pm
I am using nginx and I want to move ElkArte to sub folder /domain/community like in here. Can anybody please share their working code for it. I kinda messed up when I attempted to move it so far.  :D
Title: Re: Move Forum To Sub Folder For Nginx
Post by: ahrasis on January 12, 2018, 09:55:00 pm
Nevermind. I found out that I can simply run repair_settings.php to do that.
Title: Re: Move Forum To Sub Folder For Nginx
Post by: Frenzie on January 13, 2018, 02:29:09 am
@ahrasis Interesting, where's that located?
Title: Re: Move Forum To Sub Folder For Nginx
Post by: ahrasis on January 13, 2018, 04:28:05 am
It's our EA tool but the latest version should be in here: https://www.elkarte.net/community/index.php?topic=3706.msg30922#msg30922

Just copy your files and folders from domain root to the preferred subfolder, run repair_settings from that subfolder, change all urls to it and save.

After making sure everything work, you can remove the files and folders from domain root except for that subfolder.