Just a helpfull tip on wp multisite
-
Took a bit of fiddling so i thought i would share this while the memory is fresh in my mind.
First and most important dont get frustrated, the error messages are not extrememly informative so you have to work your way thru it and thats why i am sharing this information. And most of the time it is a very simple fix.
DO NOT ACTIVATE THE PLUGIN YET.. WAIT….
First go thru all your multi-sites and make sure you have the custom permalink set up. You must use the custom option. Visit here and pick one of the examples
Once you get all your multi site permalinks done, then make sure that your permissions are ok. Different servers and hosts have different permission structures.
I will try to explain my situation here..
For me on my server 666 is the norm, i have 644 and use it but what i mean is that if i have a problem for some reason the first thing i do (i learned this the hard way) is check the permission. Many times just setting it at 666 rather than 644 works perfect.Its the same with my 755, i do use it but if there is an issue and i change the folder to 777 then it works when 755 wont work. I never really understood why this host was different but it is.
My whole point here is that if you get the error message that the htaccess is not found in a folder or you go to activate the plugin or the plugin modes and it gives you an error that it cant copy or that your simply not protected and thats the only message you get, then check your permissions. I cant tell you what they should be on your server but i can tell you this much.
When i say writable it could mean 777 folder or 755 for you. Or a file 666 or 644 for you. Which ever applies to your server structure and makes it writable for your server.
You have to create a wp-content/bps-backup folder and make it writable. Go ahead and create that now..
(if you want to save yourself some time go ahead and toss in an empty .htaccess file in this dir and make sure it is writable as well.) When you do your modes it will overwrite this so dont worry.Inside that backup dir you need to create /master-backups and make that writable as well. (AGAIN.. if you want to save yourself some time go ahead and toss in an empty .htaccess file in this dir and make sure it is writable as well.) When you do your modes it will overwrite this so dont worry.
When they talk about your BPS Master htaccess folder they are talking about the wp-content/plugins/bulletproof-security/admin/htaccess folder (this also needs to be writable). This is the source folder that they get all the htaccess files you need and copies them and renames them to the right places.
Inside that master htaccess folder for me i had to also set the:
default.htaccess, deny-all.htaccess, maintenance.htaccess, secure.htaccess, and wpadmin-secure.htaccess to 666 to get this to work for me. (im not saying you do, try 644 if it dont work then try 666)Now if you are planning to secure the root dir you will also need to do the wp-admin, so if you dont have one put an empty .htaccess in the wp-admin folder and make it writable (it will be overwritten)
And also make your root .htaccess file writeable (it will be overwritten)
Make a back up copy of both of these so you can put them back if you happen to get a 500 server error when you activate, that way you can put them back and regain access to the admin area.Now you are ready to activate the plugin. Go to your plugins on your master admin multi-site plugins list and network activate the plugin.
STOP!!! IMPORTANT!!! now go to the main site for your multi site (dont worry about the sub sites (i have sub folders sites and i did not have to do anything with them. i just had to do this on the main site for the multisite (not net admin but the main wp site for multisite)
you will see a big yellow message at the top, read it if you will. But then go down you will see a bunch of blue tabs, right under that there is a set of buttons 6 total two at a time.. it reads..
Setup Steps & AutoMagic – Create Your htaccess Master FilesCouple of things to note here. First depending on the multi-site setup you have it will designate which set of buttons you need. (set for single, set for sub folder, set for subdomain) Yours should be green text, the others are black text. The ones you dont need are labeled as Do Not Use
Once you find your buttons then you dont need the top one that is just for default for testing, you need the bottom one which is the secure one. Create secure htaccess file..
Press that button and follow the instructions and continue.
Once that is done and no errors then right under that you do the Activate Security Modes buttons, do one at a time and go right down the list and activate all 4.
For each one scroll up a bit and it will give you an error or confirmation message if completed. Again i got past these error messages with my permissions.
Thats it after all 4 are done and no errors your golden…
I hope this has helped someone to do this without hassle..
🙂
The topic ‘Just a helpfull tip on wp multisite’ is closed to new replies.