Title: Multisite 500 error
Last modified: March 20, 2020

---

# Multisite 500 error

 *  Resolved [waldopepper](https://wordpress.org/support/users/waldopepper/)
 * (@waldopepper)
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/)
 * We have a main website and I managed to setup Network and Multisites (as subdomains)
   and it seems to be working OK to a point, it lets us create another site under
   the main one e.g. test1.website.com
    We created one subsite using the standard
   WordPress New Site feature and another test2.website.com using NS Cloner. I can
   see both listed via this menu:`https://website.com/wp-admin/network/sites.php`
 * But when I browse to any part of the new subdomains (full site or WP backend)
   I get this message which I believe is a 500 error?
 * Internal Server Error
    The server encountered an internal error or misconfiguration
   and was unable to complete your request.
 * In the Domain’s DNS settings, there was already an ‘A’ record for *.website.com
   record. I read somewhere else that a * CNAME might also be necessary, or is that
   just if we want to use another full domain nme for each subdomain (we just want
   the normal test1.website.com address)?
 * Also as I’m new to all this, could be a stupid question, but with each new subsite,
   is it installed in a new directory (to see the files in our hosts’s file explorer)
   or does it share the main WordPress install files somehow? Just wondering if 
   each subsite has its own htaccess and I need to see what’s in there to see what’s
   causing this issue?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultisite-500-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12564365)
 * multisite (network) installation using ONE engine install,
    ONE content folder
   ONE themes folder ONE plugins folder.
 * It works by serving multiple sites from ONE WordPress installation.
 * You use DNS management to point A/AAAA (or CNAME) records to same IP,
    your webserver
   needs to be set to handle requests to multiple FQDN (domain names or server names)
   as requests to ONE site. WordPress is doing the rest. Therefore, here is only
   one .htaccess file
 * Make sure that error 500 is not caused by some weird .htaccess settings,
    double
   check, try to remove (rename) it temporarily Check server’s PHP error logs.
 * ps: If you have created another site using NS cloner,
    both sites are stand-alone
   WP installs, and have nothing common with _multisite_ or _network_ WP installs
    -  This reply was modified 6 years ago by [Yui](https://wordpress.org/support/users/fierevere/).
 *  Thread Starter [waldopepper](https://wordpress.org/support/users/waldopepper/)
 * (@waldopepper)
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12564450)
 * Thanks for the quick answer and advice!
 * I renamed .htacess and the main site is unaffected but the subdomains now show
   this error message
    Not Found The requested URL was not found on this server.
 * Thanks, I didn’t realise the difference between Multisite and NS Cloner. What
   we are trying to do is have a template subdomain that we can quickly clone and
   create new subsites from (without having to apply all the same Pages/Themes/settings
   etc to each one, is this possible with the standard WP Multisite function?)
 *  Thread Starter [waldopepper](https://wordpress.org/support/users/waldopepper/)
 * (@waldopepper)
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12564466)
 * Well the debug.log doesn’t add any new lines each time I browse to the subdomain
   URLS, but it does have a lot of warnings about themes and Woocommerce, maybe 
   normal?
 * The URLS are weird, maybe I should remove and re-install Woocommerce (maybe multisite
   messed with it or the URL structure?)
    /customers/c/2/3/totallylocallyshop.org/
   httpd.www/wp-content/themes/flatsome/inc/woocommerce/structure-wc-category-page.
   php
 * Anyways, it doesn’t feel as though these errors are related to accessing the 
   subdomains
 *     ```
       [20-Mar-2020 11:28:48 UTC] PHP Deprecated:  Function create_function() is deprecated in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-content/themes/flatsome/inc/woocommerce/structure-wc-category-page.php on line 17
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  WC_Cart::get_cart_url is <strong>deprecated</strong> since version 2.5! Use wc_get_cart_url instead. in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4648
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  WC_Cart::get_cart_url is <strong>deprecated</strong> since version 2.5! Use wc_get_cart_url instead. in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4648
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  WC_Product::get_gallery_attachment_ids is <strong>deprecated</strong> since version 3.0! Use WC_Product::get_gallery_image_ids instead. in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4648
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  id was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome/page-blank.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, flatsome_contentfix, do_shortcode, preg_replace_callback, do_shortcode_tag, ux_products, wc_get_template_part, load_template, require('/themes/flatsome/woocommerce/content-product.php'), do_action('flatsome_product_box_actions'), WP_Hook->do_action, WP_Hook->apply_filters, flatsome_lightbox_button, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4986
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  WC_Product::get_categories is <strong>deprecated</strong> since version 3.0! Use wc_get_product_category_list instead. in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4648
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  WC_Product::get_gallery_attachment_ids is <strong>deprecated</strong> since version 3.0! Use WC_Product::get_gallery_image_ids instead. in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4648
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  id was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome/page-blank.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, flatsome_contentfix, do_shortcode, preg_replace_callback, do_shortcode_tag, ux_products, wc_get_template_part, load_template, require('/themes/flatsome/woocommerce/content-product.php'), do_action('flatsome_product_box_actions'), WP_Hook->do_action, WP_Hook->apply_filters, flatsome_lightbox_button, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4986
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  WC_Product::get_categories is <strong>deprecated</strong> since version 3.0! Use wc_get_product_category_list instead. in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4648
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  WC_Product::get_gallery_attachment_ids is <strong>deprecated</strong> since version 3.0! Use WC_Product::get_gallery_image_ids instead. in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4648
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  id was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome/page-blank.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, flatsome_contentfix, do_shortcode, preg_replace_callback, do_shortcode_tag, ux_products, wc_get_template_part, load_template, require('/themes/flatsome/woocommerce/content-product.php'), do_action('flatsome_product_box_actions'), WP_Hook->do_action, WP_Hook->apply_filters, flatsome_lightbox_button, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4986
       [20-Mar-2020 11:28:50 UTC] PHP Notice:  WC_Product::get_categories is <strong>deprecated</strong> since version 3.0! Use wc_get_product_category_list instead. in /customers/c/2/3/totallylocallyshop.org/httpd.www/wp-includes/functions.php on line 4648
       ```
   
 *  [truncated]
    -  This reply was modified 6 years ago by [Yui](https://wordpress.org/support/users/fierevere/).
    -  This reply was modified 6 years ago by [Yui](https://wordpress.org/support/users/fierevere/).
 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12564488)
 * > I renamed .htacess and the main site is unaffected but the subdomains now show
   > this error message
   >  Not Found The requested URL was not found on this server.
 * but you dont get error 500, your PHP error log does not show any Fatal’s (500)
   
   too. So error 500 is likely caused by some incorrect or unsupported htaccess 
   directive.
 * Please show us your .htaccess file (use CODE button for proper formatting)
 *  Thread Starter [waldopepper](https://wordpress.org/support/users/waldopepper/)
 * (@waldopepper)
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12564683)
 * Ah OK, here’s our htaccess file:
 *     ```
       # BEGIN WordPress
       # The directives (lines) between <code>BEGIN WordPress</code> and <code>END WordPress</code> are
       # dynamically generated, and should only be modified via WordPress filters.
       # Any changes to the directives between these markers will be overwritten.
       <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
   
       # Wordfence WAF
       <Files ".user.ini">
       <IfModule mod_authz_core.c>
       	Require all denied
       </IfModule>
       <IfModule !mod_authz_core.c>
       	Order deny,allow
       	Deny from all
       </IfModule>
       </Files>
   
       # END Wordfence WAF
       ```
   
 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12565173)
 * You have some unusual stuff in WordPress block of rules
 * Try to reset .htaccess to default, you can do this (if file is writable by WP)
   
   by visiting **Dashboard>Settings>Permalinks** (no need to change anything) press
   _Save Changes_
 *  Thread Starter [waldopepper](https://wordpress.org/support/users/waldopepper/)
 * (@waldopepper)
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12565215)
 * Hi, sorry for the trouble, I was also chatting with the Hosting provider and 
   they are telling me that they don’t support WordPress Multisite at all! I was
   given a host to install this on and didn’t realise that not all support this 
   🙁
 * Thanks for your help anyways, we’ll look for another provider that can help with
   this type of structure.
 *  Thread Starter [waldopepper](https://wordpress.org/support/users/waldopepper/)
 * (@waldopepper)
 * [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12565921)
 * Closing the topic as resolved, thanks for your time looking into this.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Multisite 500 error’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 8 replies
 * 2 participants
 * Last reply from: [waldopepper](https://wordpress.org/support/users/waldopepper/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/multisite-500-error-2/#post-12565921)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
