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?
Please look at this: http://www.amember.com/forum/threads/wordpress-now-shows-a-page-not-found-error-suddenly.15525/
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?
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
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
Try to re-enable aMember plugin in Wordpress: http://www.amember.com/docs/Integration/Wordpress specially these steps: Disabling WordPress Registration System Install and Activate the WordPress Plugin Configuring System Settings Edit Templates Creating Error Messages Page/Post/Category Protection Settings