PDA

View Full Version : How to rename your sohoadmin folder!


Cameron Allen
12-02-2005, 01:28 PM
The following will let you easily change the URL path to login to your site. For example: instead of accessing my site by typing http://mydomain.com/sohoadmin I could access my site by going to http://mydomain.com/cameronsWebBuilder . To do this follow these steps.

Login to your server through SSH, and navigate to your site's docroot folder (usualy public_html, www, or htdocs) and enter in the following command:
ln -s /path/to/sohoadmin/ newfoldername

For example, if the path to my /sohoadmin folder was: /home/cameron/public_html/sohoadmin/

and I wanted to be able to access the site by going to http://www.mydomain.com/sitepro instead of http://www.mydomain.com/sohoadmin , I would login to shell and enter the following:
cd /home/cameron/public_html
ln -s /home/cameron/public_html/sohoadmin sitepro

Thats it! I can now access Pro Edition by going to http://mydomain.com/sitepro . This site can still be accessed by going to http://mydomain.com/sohoadmin because the sohoadmin folder is still there. The above command creates a virtual directory, that links to the sohoadmin folder. Because the /sohoadmin folder is still there, no source code changes need to be made to any of the build code. Enjoy! :cool:

aaapdm
08-30-2007, 03:52 AM
Nice that,
I keep my files under /public folder. I would like to move the entire sohoadmin folder to a safe dir like /cgi-bin or something like that.
Can I do it in a safe mode ?
:huh: