Support » Fixing WordPress » Error in network Site – Page daed

  • Himanshu

    (@himanshu_ag)


    Hello Seniors,

    i am facing difficult to run network site (multi-pal site) on single domain with below method subdomain.dommain.com with ssl, i was followed the below wordpress codex steps.and successfully update .htaccess with respective code:
    `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]

    and wp-config.php :

    * For information on other constants that can be used for debugging,
    * visit the Codex.
    *
    * @link https://codex.wordpress.org/Debugging_in_WordPress
    */
    define( ‘WP_DEBUG’, false );

    /* Multisite */
    define( ‘WP_ALLOW_MULTISITE’, true );
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘insuranceinfo.co.in’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    /* That’s all, stop editing! Happy blogging. */

    After that i have successfully login wordpress a/c under Dashboard > My Site> have found
    Primary Site also there is found a block and i had seen network site in the name “insurancenfo” after click the dashboard i am redirect to original site. when i am follow the next step Dashboard>My sites> Network Admin> click any option provided by wordpress Dashboard, sites, settings we are redirect to https://www.insuranceinfo.co.in/wp-admin/network/ and page is dead,

    i have already created some sub-domains business.insuranceinfo.co.in, news.insuranceinfo.co.in under root directory.

    Kindly assist how can i rectified the same.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Vladinka

    (@vladinka)

    From what I understand you are setting up a multisite. In this case you will need a WildCard Subdomain in order for your sites under the network to work with the same installation of WordPress.
    You can create such subdomain from your hosting control panel->Subdomains.
    WildCard subdomain should look like that:

    *.mydomain.com
    – where the root folder is the folder where your WordPress installation for the multisite resides. If your site is the main/primary site for the hosting account that should be your public_html folder.

    With the Wildcard Subdomain there will be no need to create each subdomain for each subsite. If you have already created such subdomains you will need to edit their document root to point to the main installation folder. ( e.g. public_html)

    Thread Starter Himanshu

    (@himanshu_ag)

    Hello @vladinka,

    Thanks for revert and suggestions.

    As Per Instructions available on wordpress codex have done configuration are mentioned below.

    ~~~~~~~

    How to Install and Setup WordPress Multisite Network


    https://codex.wordpress.org/Create_A_Network
    ~~~~~~~

    Have done Settings from our end:

    1. .htaccess settings completed
    2. wp-config.php settings completed
    3. cloudflare settings completed A record *.mydomain.com
    4. A record *.mydomain.com settings completed under primary domain DNS records.
    5. sub-domain wild card settings completed under website & domains settings section.
    6. Remove sub-domain news.mydomain.com from Plesk Panel.
    7. Created new site news.mydomain.com under network site.
    8. Under home upgrade network
    9. Enabled respective theme.

    Wordpress:
    Url : https://www.mydomain.com/wp-admin/network/index.php

    Now login successfully
    Under network panel unable to access news.mydomain.com dashboard. found 404 error.

    Unable to fetch/point respective folder under Plesk Pannel:Home>public_html>
    folder.

    Need your assistance.

    Vladinka

    (@vladinka)

    The root folder on Plesk is /vhosts/domainname.tld/httpdocs. As each domain name with a site on it has its own folder, your multisite’s files are placed in the folder of the main domain for your network – that should be the Document root set for the wildcard subdomain to point to.
    Also you will probably need to update your permalinks ( Dashboard->Settings->Permalinks-> just click the Save button without changing the url’s structure type)

    Thread Starter Himanshu

    (@himanshu_ag)

    Hi, @vladinka, set up wildcard subdomains in my hosting account *.domain.com after that i have visited /wp-admin/network/sites.php under all sites have created new site, after crated new site wordpress show site dashboard and edit, when i am going to click dashboard browser show me dad page.

    as per your instructions have visited Permalink default set is http://www.domain.com/2016/10/07/sample-post/

    after that when i am going to visit multisite mysite.domain.com This site can’t be reached

    Kindly assist

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error in network Site – Page daed’ is closed to new replies.