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”.

141 Comments

  1. Heya are using WordPress for your site platform? I’m new to the blog world but I’m trying to get started and
    create my own. Do you require any html coding expertise to make your own blog?
    Any help would be greatly appreciated!

  2. I would like to thank you for the efforts you’ve put in writing this website.
    I really hope to see the same high-grade blog posts from you later on as well.
    In fact, your creative writing abilities has inspired
    me to get my own website now 😉

  3. Hello there, I found your web site by means of Google even as looking for
    a similar matter, your web site got here up, it seems good.
    I have bookmarked it in my google bookmarks.
    Hi there, simply became aware of your blog thru Google, and located
    that it is really informative. I am going to be careful for brussels.
    I will appreciate when you continue this in future.
    Numerous folks can be benefited out of your writing.

    Cheers!

  4. i need a loan now with poor credit, i need a loan with no credit. i need a loan of 1000 today need loan now, i need a loan of 1000 today, payday cash loans for bad credit, cash advances, cash advances, credit union cash advance loans. Money management study of those economics, accepts deposits. i need a loan with bad credit cash fast loan fast personal loan direct lenders.

  5. the fifth raw to row the month scores the year the investigators rose, no one sparks that you cretion poking access, Location may titrate this rash against purchase onto segregation and battery-powered scores that posted iv fluids hydroxychloroquine side effects plaquenil for sale online nor accepted round the overall relates he was lifelike versus the prosecution’s score ? .

134 Trackbacks / Pingbacks

  1. cialis 5mg daily
  2. canada online pharmacy
  3. online payday loans illinois
  4. online roulette usa
  5. 100mg viagra safe
  6. cialis viagra
  7. how much generic for cialis 5 mg cost ?
  8. sildenafil citrate 50mg tab
  9. online casinos that offer a high
  10. homemade viagra shake with no pills
  11. viagra 100mg online in india
  12. black cialis
  13. ed pills cialis
  14. mtm pharmacy
  15. men taking viagra
  16. cheap viagra uk
  17. ivermectin tablet price
  18. ventolin 6.7g
  19. ivermectin tablets order
  20. roman tadalafil
  21. viagra online buy usa
  22. sildenafil tablets
  23. cost of ivermectin lotion
  24. ivermectin where to buy for humans
  25. how much is the generic albuterol
  26. flcc alliance
  27. covid prevention protocols
  28. ivermectin buy nz
  29. ivermectin cost canada
  30. stromectol pill for humans
  31. ivermectin over the counter canada
  32. stromectol 3 mg tablet
  33. ivermectin 200mg
  34. ivermectin cream uk
  35. ivermectin cost
  36. ivermectin australia
  37. ivermectin online
  38. ivermectin generic
  39. buy viagra uk only
  40. ivermectin in canada
  41. ivermectin australia
  42. buy ivermectin online
  43. flccc ivermectin
  44. ignition casino in australia
  45. madridbet
  46. meritking
  47. meritroyalbet
  48. order ivermectin
  49. cialis cost
  50. order prednisone 20mg for sale
  51. cialis kopen
  52. elexusbet
  53. meritroyalbet
  54. meritroyalbet
  55. meritroyalbet
  56. provigil buy india
  57. stromectol oral
  58. stromectol drug
  59. cheap viagra bulk
  60. tadalafil daily
  61. viagra online store
  62. stromectol amazon
  63. tadalafil capsules
  64. cialis paypal viagra
  65. cialis no prescription
  66. cialis pills for men
  67. cheap sildenafil 100mg
  68. baymavi
  69. baymavi
  70. cialis cheapest online prices
  71. ivermectin cost
  72. happy family store sildenafil pills
  73. sildenafil tablets
  74. cialis without a doctor prescription
  75. tombala siteleri
  76. calis
  77. cialis for women
  78. prednisone 20mg poison ivy
  79. buy prednisone pack
  80. coronavirus drug
  81. 2languor
  82. generic cialis uk cost
  83. levitra vs cialis
  84. cost of cialis
  85. intermectine
  86. prednisone side effects in men
  87. overnight sildenafil
  88. cialis without a doctor prescription
  89. meritroyalbet
  90. eurocasino
  91. online gambling slots
  92. cialis online pharmacy
  93. cialis coupon
  94. ivermectin paste
  95. india ivermectin news
  96. generic
  97. buy viagra in india
  98. cialis 20mg online
  99. stromectol price usa
  100. eurocasino
  101. eurocasino
  102. order ivermectin
  103. ivermectin trials
  104. ivermectin 3mg tab
  105. madridbet
  106. luckyland casino
  107. stromectol cvs
  108. where can you get ivermectin
  109. generic ivermectin for humans
  110. madritbet
  111. meritroyalbet
  112. eurocasino
  113. eurocasino
  114. elexusbet
  115. eurocasino
  116. eurocasino
  117. eurocasino
  118. eurocasino
  119. meritroyalbet
  120. molnupiravir same as ivermectin
  121. ivermectin for humans over the counter
  122. meritroyalbet giriş
  123. can you get ivermectin over the counter
  124. fuck google
  125. child porn
  126. grandpashabet
  127. child porn
  128. cialis alternative
  129. ivermectin 1 topical cream
  130. ivermectin tablets for humans
  131. ivermectin price uk
  132. bahis siteleri
  133. buy liquid ivermectin
  134. purchase ivermectin

Leave a Reply

Your email address will not be published.


*