You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i added new subdomain on Cpanel called portfolio.domain.com, then installed multisite, and multi network on top (including commenting out the DOMAIN_CURRENT_SITE line in my wp-config.php file).
atm i have the main website domain.com and added the new portfolio.domain.com as new network and site. when trying to get into the dashboard or view the of portfolio.domain.com i get the 404 error.
what can i do?
The text was updated successfully, but these errors were encountered:
Have you set the document root of portfolio.domain.com to the same path as domain.com website (where Multisite is)?
If your control panel does not allow that, just delete the folder "portfolio" (which is probably the document root) and create a symllink instead (portfolio -> document root of domain.com) or ask your hosting support to create it for you.
e.g.: link -s /home/user/public_html /home/user/public_html/portfolio
If you are running cPanel and can't change the document root of portfolio subdomain, considering symlinks may be an issue for those less experienced, it may be easier to add portfolio.domain.com as parked/alias domain of domain.com . This will create a new VHost in Apache with the proper document root. Depending on your hosting provider policies, this is only doable if domain.com is the primary domain of your cPanel account.
You may need to add a DNS record for portofolio in domain.com DNS zone by yourself.
hello there.
i have empty wordpress project just started. I'm trying to setup this structure:
domain.com > portfolio.domain.com >> portfolio.domain.com/template1
i added new subdomain on Cpanel called
portfolio.domain.com
, then installed multisite, and multi network on top (including commenting out theDOMAIN_CURRENT_SITE
line in mywp-config.php
file).atm i have the main website
domain.com
and added the newportfolio.domain.com
as new network and site. when trying to get into the dashboard or view the ofportfolio.domain.com
i get the 404 error.what can i do?
The text was updated successfully, but these errors were encountered: