What do I put in second site folder
-
Hey!
I am currently testing the multisite feature for my website.
Before putting it on my actual website, I am trying it on local WAMP.So, I was able to put everything in htacces and wp-config. I am able to go to the multisite dashboard.
-> I created the website BUT, I don’t know what to put in the second site folder. I am willing to re-use WordPress.
Thanks.
-
I’m not sure what you are asking. Are you asking how to create a new subsite?
For that, you go to: Network Admin dash–> Sites –> Add New
I have created a subsite with and linked it to a second folder.
My question is, what do I put in that subsite folder?In every tutorial I watch, the files magicaly appear! Mine is empty.
Second folder?
So in the public_html:
wp-admin/
wp-content/
wp-includes/
Blog/ -> The folder where the subsite is
wp-config.php
…Did you manually create that folder? There shouldn’t be a wp-config for individual sites, just one for the network.
Please let us know: is your multisite set up as subdomains or as subdirectories?
To create a new site, you don’t need to do anything with directories– you should be able to do it all through the dashboard. Network Admin–> Sites–> New Site
Here is a little recording I made to show you what I have done
Thanks for the video. Unfortunately, I don’t read French, and there was no description.
It looks like you are expecting that after you add a new site, it should create a new directory in the root of the install. It won’t. There will be new directories for the new site’s ID’s in the uploads folder, but it will share the rest of the main files, including plugins & themes.
To find the new site, in the Network Admin dashboard, go to Sites. The new site should be listed there, and you can get to it’s dashboard from there.
If your question is “where are the uploads for site ID #2?” The answer is: wp-content/uploads/sites/2.
Ok. Lets make this clear.
I got this main website. I want to have a second website for my blog. I found out about Multisite in wordpress. I followed the steps to activate it and succesfully done it. After I create a subsite via the superadmin dashboard, I don’t know what to do next for that subsite, how to setup that one next.
After I create a subsite via the superadmin dashboard, I don’t know what to do next for that subsite, how to setup that one next.
Once you set up Multisite and create a subsite, you go to domain.com/subsitename.
If that is not working, please tell us what the actual error is š Or better, share with us the URL.
As Bet correctly said, there is no folder created on your server. It’s all virtual.
Ah! From several places you will find access/links for the second site (and other subsites).
Here are a couple places to find your subsites:
- on the admin toolbar, click on “My Sites”, and a list of all the sites in the network should drop down.
- In the Network Admin dashboard, there will be an option on the left sidebar for “Sites”. Hovering over a particular site in the list will bring up some options ā go to Dashboard, not Edit. (Edit is for editing the settings of a particular site, not editing its content.)
Once you’re on the dashboard of the subsite, it behaves pretty much like a regular WordPress install ā with the exceptions that you will not see themes that are not network activated, and you will not see plugins that are network activated.
Sorry for not being able to give out links, I am testing the multisite feature locally :/
So: Once I’ve created “sitenumber2”, I’ve clicked on Visit and Goto Dashboard And I get a Not Found error:
The requested URL /MultiSite/sitenumber2/ was not found on this server.
and
The requested URL /MultiSite/sitenumber2/wp-admin/ was not found on this server.
I have also noticed that the site doesn’t show up in the My Sites button.
Just checking all bases: have you tried to go to: sitenumber2.mainsite.com? (or whatever the extension of the local install is…)
Not found error :(.
http://localhost/MultiSite/ works (main site)
http://localhost/MultiSite/sitenumber2 doesn’t work (subsite)Thank you for this topic as it got me to finally take a look at Multisite š
I set up a brand new WP 4.0 install in my fave local server, Uniform Server, and following the Codex instructions, successfully set up Multisite! Cool!
In order to troubleshoot the OP’s problem, I did the same thing using the latest version of WAMPServer 2.5. I didn’t even get to the Multisite part and ran into trouble and I believe this is the source of the issue the OP is having.
Part of the instructions in the Codex it to ensure your permalinks are working properly. I did so on the Uniform Server install and yep, all is fine; they are rewriting properly.
Not so on WAMPServer however; the dreaded 404/ not found. Hmm … off to Google, which lead me back to the forum and this post:
https://wordpress.org/support/topic/customised-permalinks-causing-404-error-on-wamp?replies=2
You have to manually enable mod_rewrite in Apache in WAMPServer. Note that the line the post indicates is not the exact one so I just did a search for
mod_rewrite.soRestarted Apache, finished the Multisite setup and added
sitenumber2and yep, there it was šThanks man! That sneaky WAMP :p
Solution:
in httpd.conf (Apache) search for mod_rewrite.so and then activate the line (remove #). Restart Apache and tadaa!Thanks to LyleChamney and Bet Hannon for helping me!
The topic ‘What do I put in second site folder’ is closed to new replies.