• juanvaldes

    (@juanvaldes)


    Installing on a Pi5 running Debian Bookworm release 12, WordPress version is 6.7.2

    I installed LAMP and then WordPress on the Pi, also installed phpmyadmin. All worked well up to this point. Then I followed instructions how to setup multisite, followed those instructions, edited .htaccess and wp-config.php as instructed.

    I can see the Network setup screens as expected, I was only given the choice to create subfolders, I believe because wordpress is located at /var/www/html/wordpress. So I change permalinks to by day and name.

    Next step was to add a site, subfolder folder name site1. WordPress makes the correct database entries but does not create the subfolder under wordpress, so no /var/www/html/wordpress/site1, I dont’get an error but if I choose to got to the new site I get a “Not Found” error which is probably because there is no /site1 subdirectory.

    I have tried reinstalls in a number of ways and effectively get the same results, the wordpress install functions but not the multisite subfolder install… What am I doing wrong?

    I did apply privileges and ownership to the folder prior to doing any site additions.

    sudo chmod 755 site1 -R

    sudo chown www-data site1 -R

    Please help

    Juan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter juanvaldes

    (@juanvaldes)

    Also I copied the /wordpress directory to /site1 and that seemed to work, but of course since the create site function is not working correctly. the plugins that get installed in the Network Install won’t deploy to the sites like /site1

    Please help

    • This reply was modified 2 weeks ago by juanvaldes. Reason: typo

    Next step was to add a site, subfolder folder name site1. WordPress makes the correct database entries but does not create the subfolder under wordpress, so no /var/www/html/wordpress/site1,

    No, that’s not how WordPress Multisite works.

    WordPress Multisite subsites are virtual. So you’re not going to have a subfolder created for each subsite.

    From the documentation (emphasis mine):

    A multisite network is a collection of sites that all share the same WordPress installation core files. They can also share plugins and themes. The individual sites in the network are virtual sites in the sense that they do not have their own directories on your server, although they do have separate directories for media uploads within the shared installation, and they do have separate tables in the database.

    https://developer.wordpress.org/advanced-administration/multisite/create-network/

    Thread Starter juanvaldes

    (@juanvaldes)

    Ok, I understand now. The reason I went looking for a folder is that when I installed the multisite and created a new site the virtual links didn’t work and gave me an error when I chose to visit the site. So instead of the issue that I described I guess the actual issue is that though wordpress multisite does make entries into the database the virtual links can’t find the site.

    I created a new site and didn’t add a folder and the screen I get is “The requested URL was not found on this server.”, so the link doesn’t work… What could be causing this situation?

    Thread Starter juanvaldes

    (@juanvaldes)

    I have attached the .htaccess file as well as the result when I go to my site url, which has an a record that points to the external IP of the router which in turn points all traffic to 172.16.2.2 in my network. This server is running multi-site with subfolders. For the life of me I cant figure out how to make it work.

    I currently have the site URL set to 172.16.2.2, I know that has to be changed to http://ccrexotics.com, but when I do that everything freezes

    Please help

    Thread Starter juanvaldes

    (@juanvaldes)

    I attached three files but they didn’t come through, please provide an email where I can send them, or tell me how to send them to you

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.