Some say the other domains must be sub-directories in the public root.
Some say multisite only works if they are parked domains that feed off the master domain.
Some say they must be sub-domains of the master domain. (eg. sub.this.com).
Which is it?
This is what we want: sharing the same information architecture (DB, images, plugins, themes, etc) and design elements – all the websites use the same resources. But, they are accessed as independent websites with their own domain customizations.
So the first installation did other domains as sub-directories of the public root. The Master site (of course higher up in hierarchy) works perfectly – – all images in the master site. But the other domains do not pick up plugins, or even have access higher up to access images.
Is the problem the directory structure, or is it some code somewhere that needs to point to the other domains.
We have tried about ten different suggestions thus far in our troubleshooting effort.
Some insight will be much appreciated.
My main site works fine with these settings:
upload_path /home/ssnet/public_html/wp-content/uploads
upload_url_path [blank]
fileupload_url https://ssnet.org/public_html/wp-content/uploads
I believe my upload paths for the sabbathissues.org subsite looked like this (lots of changing back and forth since then):
upload_path: https://ssnet.org/wp-content/blogs.dir/12/files
upload_url_path [blank]
fileupload_url https://sabbathissues.org/files
Upon moving to a new server, a tech support person went beyond the call of duty to apply a “band-aid” solution to make most of the images on the site show up. With a little sleuthing I found that he had inserted a directory redirect in the root directory (public_html). He redirected the address https://ssnet.org/files to https://ssnet.org/sabbathissues. And the images started showing up.
It so happens that I had reproduced the upload directory in the https://ssnet.org/sabbathissues as one of my desperate attempts to restore the images.
My current settings in the Networking Admin Sites setup look like this:
upload_path /home/ssnet/public_html/sabbathissues/files/
upload_url_path https://sabbathissues.org/files/
fileupload_url https://sabbathissues.org/files/
This works only after a fashion, because this is what happens:
When I upload an image it goes to
https://ssnet.org/wp-content/blogs.dir/12/files/2024/02 and the images do not show up in the Media Library unless I choose “Edit.” And they do not show up when I attempt to insert them into blog posts. I have to use FTP to move them to https://sabbathissues.org/files/2024/02, and then the images work as expected.
I tried removing the redirect, and the images immediately disappeared from the site. The only thing I did not try was to put the images in the directory that was redirected, namely https://ssnet.org/files. (Currently there is no such directory.)
I would like to get rid of the redirect, and I would like to be able to upload files and have them work without having to move them via FTP. (https://ssnet.org/sabbathissues is perfect as a file repository, as far as I’m concerned.) Perhaps there is something wrong in the Sites setup that you can see, but it doesn’t look to me like WordPress is paying much attention to the file paths.
(My previous post on this issue was Subsite images do not load after Update to WP5.8 or subsequent updates, but I believe my current questions are sufficiently different to warrant a different post, since I’ve done enough sleuthing to understand a little of what’s going on. Besides, the other post was kind of abandoned … )
I would really appreciate some help on this. (I also have another small subsite with a similar problem. I believe if we can get the one site to work correctly, I can make the other site work too.) Thanks in advance!
I am working on a WordPress site that has 300+ folder based sub-sites. I have encountered 2 issues.
The first issue is that once the plugin is activated, the sitemap.xml file only appears in the root of the sub-site once an active edit or save is performed. While I could go through and click “save” one each of the 300+ sub-sites, is there a way to have the plugin create a sitemap.xml file if there is none?
The second question/issue is this, given that there are 300+ sub-sites in this installation, how can I get the plugin to create a sitemap of sub-folder based sitemaps in the root site?
Thank you,
Richard/BC
We are having an issue with sites that use WP in a subfolder. These sites have WP contained in a ‘/wp/’ subfolder. The wp-content folder lives at ‘/’.
Everything regarding plugins and content works fine.
When we have this setup, this plugin is trying to load js from:
https://www.website.com/wp/wp-content/cache/caos-analytics/analytics.js
This is the ‘WordPress Address’, but the global site options are set correctly:
WordPress Address (URL) = https://www.website.com/wp/
Site Address (URL) = https://www.website.com
Also the standard ‘WP_CONTENT_DIR’ is also set correctly in the config.
What is the best way to make the plugin load the JS from the “Site Address” rather than the “WordPress Address”.
Many thanks,
Dave.
]]>Here is what I did when I first installed WP onto my site: from the cpanel of fairmountpetservice.com I clicked on the WordPress icon to install it. I installed it as fairmountpetservice.com\Blog (is that where I went wrong) and it either defaulted to the public_html folder or I chose that folder. Is that what you are supposed to do when you add WP to an existing site?
OR – maybe my question should be: after installing WP onto your existing site, how do you use it to redesign your site? I already have domain and page authority for my site. My HOME page is and always has been www.fairmountpetservice.com. When I tried to create a HOME page from my dashboard it was created as fairmountpetservice.com\Blog\Home. Does that make sense?
Did I go about the redesign wrong or did I go about the original WP install wrong? Can I fix it by copying all the contents of my public_html\Blog into public_html? I’m hoping that the php, css and other files will help with the speed problem if they reside where the website pages are. Or did I setup WP wrong from the start. Does anyone ever add WP to an existing site, then use WP to redesign that same site?
I am using Elementor with OceanWP child theme.
]]>The reason I am guessing is that my wordpress is installed in a sub-directory /eshop/
The site URL and WordPress installation URL is different. Lighthouse reports that the service worker can not find the manifest in the root folder, where as the manifest is under the sub-folder /eshop/.
Can you tell me if it can be fixed by manually editing any files?
Thanks a lot in advance.
Manifest:
Manifest URL: https://www.****.com/eshop/superpwa-manifest.json
JSON parsed successfully.
Parsed name
property is: Peak69
Parsed short_name
property is: Peak69
Parsed start_url
property is: /
Parsed display
property is: standalone
Parsed orientation
property is: portrait
Parsed icons
property is: [
{
“src”: “https://www.****.com/eshop/wp-content/uploads/peak69-192.png”,
“type”: “image/png”,
“density”: 1,
“sizes”: {}
},
{
“src”: “https://www.****.com/eshop/wp-content/uploads/peak69-512.png”,
“type”: “image/png”,
“density”: 1,
“sizes”: {}
}
]
Parsed related_applications
property is: []
Parsed prefer_related_applications
property is: false
Parsed theme_color
property is: #e09533
Parsed background_color
property is: #D5E0EB
Exact error: Failure: Service worker does not successfully serve the manifest start_URL. no start URL to fetch. No usable web app manifest found on the page https://www.****.com/
** I have hidden the domain name here while posting.
Fazlay
]]>filmfix.net/blog/
, this is a link to a post at filmfix.net and the same post here at filmfix.com, using the same default folder. So far so good. Now I noticed that all the links within the .com website go to the default .net website — instead of staying on the .com site. How can I fix this? Do I have to use sub-folders?
Would having a virtual folder that point back to the WP site root folder work?
Switching between $_SERVER[“SERVER_NAME”] (default) and $_SERVER[“HTTP_HOST”] made no difference.
]]>So I’d like to know if there’s a way to disable WordFence in this sub-folder, by editing some rules, or by editing .htaccess or user.ini at domain’s root
Thanks
]]>