WordPress Multisite Subdomain can Edit but not View
-
Hi guys,
I have WordPress Multisite installed on my own VPS Server and i config the server and setup and network properly.
My main site is https://cor.co.il
I want to make a new site call: https://aphone.cor.co.ilThings that i have done:
1. I install the Network and put all correct text into wp-config.php:
define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'cor.co.il'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
and .htaccess:
# BEGIN WordPress <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
2.I insert aphone.cor.co.il into Subdomains in Cpanel and forward him to “home/public_html” (i made that changes also to the subdoamin “*.cor.co.il”).
3. I insert Nothing on Parked Domains and Redirects in Cpanel.
My results so far are:
I can enter https://aphone.cor.co.il/wp-admin/ and edit things, but i cant access to https://aphone.cor.co.il. It refferd me into https://aphone.cor.co.il/cgi-sys/defaultwebpage.cgi with the error:
Default Website Page
If you are the web site owner, it is possible you have reached this page because:
The IP address has changed.
There has been a server misconfiguration.
The site may have been moved to a different server.
If you are the owner of this website and were not expecting to see this page, please contact your hosting provider.I can see posts, like that one: https://aphone.cor.co.il/%D7%A9%D7%9C%D7%95%D7%9D-%D7%A2%D7%95%D7%9C%D7%9D/ and i can see Pages like this one: https://aphone.cor.co.il/%D7%A2%D7%9E%D7%95%D7%93-%D7%9C%D7%91%D7%93%D7%99%D7%A7%D7%94/ but, again, cant see nothing on https://aphone.cor.co.il exapt that error above.
How can i solve that?
- The topic ‘WordPress Multisite Subdomain can Edit but not View’ is closed to new replies.