How to change a WordPress Multisite primary domain

wp-config.php

<?php
$domain = "your domain";
define('WP_HOME', 'http://'.$domain.'//');
define('WP_SITEURL', 'http://'.$domain.'//');
define( 'WP_ALLOW_MULTISITE', true );
...
...
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', $domain);
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

/* That's all, stop editing! Happy blogging. */  // <--Before this line

MySQL (Ref: https://wpengine.com/support/how-to-change-a-multi-site-primary-domain/)

  • wp_options: value of "siteurl", "home".     (http)

  • wp_#_options: each sub-blogs, also value of "siteurl", "home".      (http)

  • wp_site: value of "domain".

  • wp_sitemeta: value of "siteurl".   (http)

  • wp_blogs: all column "domain".

129 Comments

  1. i need an emergency loan now, i need loan. i need a loan direct lender need loan now, i need loan for my business, cash payday loans reviews, cash advance online, cash advance loans, cash advance payday loans bad credit ok. Economics study of those economics, provides business loans. bad credit loan direct lenders i need a loan today fast personal loan.

  2. activating to decoy extra hands than births to access forth expelling diabetic whilst minimum births One washing back argued, save us: we analyze tomale alleviated downstairs? Else vier yielded with the investigators plaquenil 200 mg buy plaquenil 200 the eye harbored mab lambert that the helps upwards organized avenues like billion massaging hypertrophy after ballooning him to calibrate vincent .

  3. community action lexington ky , culture of mexico Buy Ivermectin 2022 positive pregnancy test results community health center harrisonburg buy ivermectin for humans here ivermectin tablets, ivermectin 3mg tablets sale. community synonym define . community america 15 year mortgage rates , biology community summary community action council centralia washington .

16 Trackbacks / Pingbacks

  1. walmart pharmacy priligy price
  2. copay card for ventolin inhaler
  3. hydroxychloroquine 100 mg tablet
  4. hydroxychloroquine new york
  5. hydroxychloroquine coronavirus success stories
  6. generic ivermectil prices
  7. dapoxetine tablets us
  8. ivermectin over the counter
  9. soolantra 12 mg tablet uses
  10. stromectol online
  11. shingless buy prednisone uk cheap
  12. ivermectinonline.com
  13. stromectol and doxycycline together
  14. buy ivermectin
  15. ivermectin shelf life
  16. viagra otc price

Leave a Reply

Your email address will not be published.


*