Then I did many changes:
Created subdomain main.example2.com and moved the WP multisite to the main subdomain in Usercode/public_html/main and created new database. At this point every thing in multisite worked fine.
I added domain example4.com and make it the primary domain. This is on folder Usercode/domains/example4.com/public_html.
I moved example2.com as addon domain, that make the domain to have its own folder Usercode/domains/example2.com/public_html.
I moved example3.com as addon domain, that make the domain to have its own folder Usercode/domains/example3.com/public_html.
Moved the data from Usercode/public_html/main to Usercode/domains/example2.com/public_html/main.
At this point I verified my WP multisite and the example2.com, example2.com/mobile, example2.com/cp work fine from wp-admin and site-pages, but example3.com did not work.
Another detail is that example2.com and example3.com as addon has ssl certificate. Attempting to fix WP problem I moved example3.com as parked to domain example2.com but still has WP problem and plus lost the ssl certificate.
I hope there is a way to edit some file to fix the path reference to the example3.com site.
]]>When I try to set up the firewall I get the following warning :
“(To make your site as secure as possible, the Wordfence Web Application Firewall is designed to run via a PHP setting called auto_prepend_file, which ensures it runs before any potentially vulnerable code runs. This PHP setting is currently in use, and is including this file:
/home/yyyy/public_html/wordfence-waf.php”
I see in a post of two years ago that the advice was to choose OVERRIDE, and I’ve done so, but the Firewall fails to be implemented and the same message is still there.
I’m nervous of messing up the firewall/WF setup on website1 (an ecommerce site) but would like to have the protection of even basic Wordfence on website 2 (a simple personal site).
Any ideas where I’m going wrong? All advice gratefully received from a community that constantly surprises and inspires! Thanks in advance
]]>I have a website running on [ redundant link removed ]. This domain is not my primary domain on my hosting service and therefore, is not pointing to the Public HTML folder. Instead it is pointing to a folder called public_html/zenuacademie
Issue 1:
I converted the site to multisite and tried adding new sites but I keep getting a 404 message. I have a feeling it is because the domain I use as primary domain on the multisite is not sitting at the root of my hosting (primary domain pointing to Public HTML folder).
Issue 2:?
When I try to connect to the network admin platform, for some reason, the URL keeps changing. For instance, it I want to get to the admin network. I click on the network menu, instead of getting to /wp-admin/network
, WordPress removes the”/” before the wp-admin and I get an error message.
Here is what I have added to my wp config file :?
/* Multisite */
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'zenuacademie.com');
define('PATH_CURRENT_SITE', '');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
here is the .htaccess
# BEGIN WordPress
# Les directives (lignes) entre 'BEGIN WordPress' et 'END WordPress' sont
# généré dynamiquement, et ne doivent uniquement être modifiées via les filtres WordPress.
# Toute modification des directives entre ces marqueurs sera outrepassée.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress
Can anyone please help?
]]>Thanks for putting this up for us here in the community.
Please, I would be really grateful if you could help me with a couple of concerns:
I would use this for two sites and 3 wp installations I have on shared hosting (hostgator). No multisites. My sites’s structure is:
https://maindomain.com
https://addondomain.maindomain.com (which is publicly accessible at https://addondomain.com)
https://adondomain.com/subdirectory.maindomain.com (which is publicly accessible at https://addondmain/subdirectory
My concerns are:
1) if I install the plugin in https://maindomain.com and assuming all the 3 wp installations (maindomain, addon domain and subdirectory within addon domain) have an SSL certificate, once I activate your plugin, will all the 3 of them be automatically redirected to https, their respective siteurl & home urls changed to https and mixed content in the 3 of them fixed?
2) Or will I need to install the plugin in all 3 wp installations?
Many thanks!
]]>Thanks for putting this up for us here in the community.
Please, I would be really grateful if you could help me with a couple of concerns:
I would use this for two sites and 3 wp installations I have on shared hosting (hostgator). My sites’s structure is:
https://maindomain.com
https://addondomain1.maindomain.com (which is publicly accessible at https://addondomain1.com)
https://adondomain1.com/subdirectory.maindomain.com (which is publicly accessible at https://addondmain1/subdirectory
My concerns are:
1) if I install the plugin in https://maindomain.com and I obtain a certificate from there, will my other site (https://addondomain1.maindomain.com) also automatically use the same certificate? and my subdirectory at https://addondomain1/subdirectory.maindomain.com?
2) Or will I need to install the plugin in all 3 wp installations?
3) Even if one installation in the main domain were enough in order to have a certificate for the other sites in the subdomain and in the subdirectory within the subdomain, would I need to upload the code provided by letsencrypt to the 3 different locations, those for each of my wp installations?
Many thanks!
]]>I have a site on a cPanel-based hosting provider. My first site lives in /home/username/public_html.. my second and third sites live in /home/username/public_html/second_site and /home/user/public_html/third_site respecitvely. A WordFence scan initiated on my first site ALSO scans second_site and third_site. second_site and third_site are also using WordFence and have their own scans configured.
Is there a way to configure WordFence on first_site to ignore the directories second_site and third_site?
Thanks in advance for your assistance.
Steve
]]>I know this is not new, I just couldn’t find the answer. How do I gain access to addon domain site which I’ve install a seperate wp?
I’m new to wp, not tech savvy too, it will be great if there’s an detail doc you can point me to.
Thanks in advance,
Mag.
]]>Thanks for reading
]]>