Admin Page - error 404

Discussion in 'aMember Pro v.4' started by 20pictures, Dec 20, 2012.

  1. 20pictures

    20pictures New Member

    Joined:
    Nov 23, 2012
    Messages:
    8
    I accidentally deleted my aMember directory on the server so I uploaded/unzipped again, then backed up my database. Through /setup I recreated the config.php, however, when I go to Admin login I get error 404. The same for all the links to forms I have created. The database looks fine so I didn't reload the SQL. I checked the config.php & that looks good.

    Any ideas as to what is wrong?
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  3. 20pictures

    20pictures New Member

    Joined:
    Nov 23, 2012
    Messages:
    8
    Both my WordPress & aMember directories are in the domain root. To redirect to Wordpress the following .htaccess is used, could this cause the error?

    Code:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
     
    # END WordPres
    UPDATE:
    I disabled the .htaccess & the Admin page reappeared & I could access the control panel. I am no good at .htaccess. Can anyone tell me if it can be written to direct to the Wordpress directory but allow the direct links to aMember directory?
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Yes, it is causing the error.
    aMember must be installed into a separate folder, say "amember".
    then the following line must be in amember/.htaccess :
    RewriteBase /amember
  5. 20pictures

    20pictures New Member

    Joined:
    Nov 23, 2012
    Messages:
    8
    That has fixed the Admin problem. The forms still 404 & all the pages that were supposed to be private are visible!!! When I went to Wordpress/Pages/Edit the aMember panel was no longer there. How do I reinstate or do I have to make it all over again (products, forms etc...)?

    In Amember Configuration all of my plugins have gone!!! Would reloading the SQL reinstall with the configurations that took days to set up :(
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021

Share This Page