Thread Starter
guye64
(@guye64)
Thank you so much for all your help.
I have just checked at my cPanel and I saw I can redirect each subdomain and I redirected en. to the main site, but that didn’t work. I have no way of changing anything else, so I opened a support ticket. Hopefully they’ll be able to help me configure the “en” subdomain correctly.
I will let you know the result.
UPDATE
After talking with them, I saw I hadn’t configured the subdomains correctly. I touched different things and in the end I got it to work (yay!).
Now I’m getting a security error when trying to access the sub-sites. It might have to do with the Let’s encrypt installation.
I opnened a second ticket about it, and hopefully they will point me in the right direction. I will let you know when it works.
Again, thank you so much for all your help and patience, you’ve been key in finding the solution!
Excellent, I’m glad to hear it.
It’s a relief, I know. hehehe
UPDATE
I returned the .htaccess configuration to the suggested subdomains and it continues to work fine, as shown below:
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]
I recommend using this and not the directories I mentioned earlier.
Thread Starter
guye64
(@guye64)
Hi Proteov (is it you, bcworkz?),
Everything is working finally fine. It had to do with the way I configured the subdomains on cPanel. My host support advised the correct way of doing this and now all my sub-sites are working smoothly (yay!).
Again, thank you so much for all your help and patience. In the process, I’ve learnt quite a lot!
Best,
Maria
Hello Guye64,
I have a very similar situation. Setup WP on Main Site and setup multi-site.
When adding a 2nd site, comes up as This page isn’t working HTTP ERROR 500.
Main Site: https://xpesports.gg/
2nd Site: https://xpesports.gg/fortnite
I’ve added the wildcard subdomain in cPanel
*.xpesports.gg
I’ve double/triple checked both the htaccess and wp-config files.
I’ve added the sub-domain and made sure the directory is the main sites one
fortnite.xpesports.gg
How was your issue solved in the end may i ask?
Thanks Alex
im having the same problem.
Im also not exactly sure how you fixed the problem after reading your replies.
What did you do to fix it?