I have added the code for multi-site in wp-config.php but its not working.
(the code is below)
/ Multisite /
define( ‘WP_ALLOW_MULTISITE’, true );
The code cant be incorrect because it has been copied from their official website…
Does anyone know how to fix this
Have you created sub-domain using c-panel??? Also share the URL then only we can check!
KangJL
December 28, 2021, 5:12am
3
Free hosting does not support multi-site
WordPress multisite will not work on free hosting, especially if you want to use subdomains (subdirectories might work). As you suspected, the configuration files you need to edit are hidden inside the servers and you cannot edit them yourselves (since that’s where we create the accounts for people).
However, you can create wildcard subdomains on premium hosting, so you may wish to consider to upgrade your account.
Upgrade to premium hosting, perhaps?
3 Likes
if that is so then why infinty free provides an option to create infinite subdomains, addon domain etc
IF is not only for WP keep it in mind!
See if u want u can config wp seperatly for subdomain also!
NOTE: WP consumes more nodes.
U can create more subdomain wp for your domain but it should not cross more than 30000nodes per account!
4 Likes
If really feel that your question got answered then kindly mark the solution.
That will help us to run this community with more peaceful!
2 Likes
Admin
December 28, 2021, 10:24am
8
Please re-type the quotes of the code. As you can see, the quotes are crooked, and the first one is upside down. This is usually done for pretty formatting in articles and the like, but is invalid PHP. If the WP_ALLOW_MULTISITE
turns green, like you can see with WP_DEBUG
and ABSPATH
, you should be OK.
Official sources can be wrong too. But the quotes seem correct on the official documentation , so it seems that the quotes got replaced somewhere else.
3 Likes