Changing AMember folder name

Discussion in 'Installation' started by joialoura, Aug 14, 2009.

  1. joialoura

    joialoura New Member

    Joined:
    Jul 14, 2009
    Messages:
    16
    In simple words for dummies...please, how do I change the Amember folder name?
    1.-Simply change it and upload to the server via FTP
    2.-Or upload to the server via ftp and then change tha name througout admin control panel/dashboard. If so, where is the option in the admin control panel.

    I would like to change it to look like this:
    www.mysite.com/solomiembros
    Instead of
    www.mysite.com/amember

    Thanks
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    If you are doing a fresh install, name the directory anything you want before uploading.

    If you have an existing site, this is a little more complicated. You need to edit the config.inc.php in the root of your aMember directory and update the references to the old directory. You will also need to update the .htaccess files in any previously protected folders and set the aMember URL and Secure URL in Admin CP.
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    If you want to change just the amember directory (not protected folders):
    1) go into amember admin / setup and change the http and https to the new directory.
    2) FTP in and change the directory name.

    David
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @davidm1: for an existing site using rewrite for example, won't the pathing in the existing .htaccess files be broken as they contain a defined path to the AuthUserFile and AuthGroupFile. I don't believe this gets updated just by updated the admin pathing.
  5. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Yep, you are correct.
    You will also need to redo your protect directrories.

    But since changing from amember to another directory name is usually done right after the amember install- no protected folders set up yet, i wasnt thinking about that.

    David
  6. joialoura

    joialoura New Member

    Joined:
    Jul 14, 2009
    Messages:
    16
    Thank you both.
    I have already done it successfully!

Share This Page