Support » Networking WordPress » URL change

Viewing 8 replies - 1 through 8 (of 8 total)
  • You will need to do is change your Settings > General to reflect your sites URL.

    This will fix your menu and dynamic links. If there are any hardcoded in your content you may have to do a simple find and replace. But change the settings first and see what happens.

    Thank you Kim for your answer. As simple as that… 🙂

    The problem is that in the General Settings screen, I don’t have the “WordPress Address (URL)” and “Site Address (URL)” fields, as well as “Membership” and “New User Default Role”. Probably because I installed WP from the hoster service and may have a modified version. I’ll have to take a look or talk to them.

    Do you have admin permissions? Very strange. Yes, something is set and turning off these options for you. I would contact the host as you said.

    Yes, I have admin permissions.

    I already opened a ticket and then I’ll tell you what the problem was.

    Hi Kim, I’m back!

    My hoster says, fields “WordPress Address (URL)” and “Site Address (URL)” are not visible on General Settings screen, because I have a multisite installation.
    That is, apparently these fields must be seted up manually. Can you confirm this information?

    They suggested that I read:

    I did as described! In phpMyAdmin:
    1. “wp_options” table: I changed “siteurl” and “home” to the new URL
    2. “wp_sitemeta” table: I changed “siteurl” to the new URL and I couldn´t do the sabe in “home” because my table does not have this field
    3. “wp_site” table: I changed the only table field to the new URL
    4. “wp_blogs” table: I changed “option_value”
    5. Also, they talked about tables “wp_ {blog_id} _options” but I couldn’t find others, besides “wp_blogs”
    6. wp-config.php file: I put the in “domain_current_site”

    After this, my sites stopped working and I had to reset the changes I made.

    Since the physical location of the sites does not change (I’m not moving the instalation path), should I always change the “siteurl” and “home” fields?
    I ask this because I read somewhere that the “siteurl” field is for the path to the physical installation. But I also tried not updating this one and it also did not work…

    Can you help me understand what I have to do?

    oh… it’s a multisite. I apologize, I missed that part. Let me see if I can get someone who knows multisites to look at your question.

    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Plugin Review Team Rep

    There are plugins for this:

    But if you want to do it manually, it’s not terribly hard:

    1. Go to Network Admin -> Sites
    2. Edit the site in question
    3. Change the URL to the mapped domain, check the ‘change home and site URL’ box, and click update
    4. Add define( 'COOKIE_DOMAIN', $_SERVER[ 'HTTP_HOST' ] ); to your wp-config file
    5. Update the URLs via your search/replace editor of choice

    For the search/replace I recommend or using WP-CLI.

    I have read all your suggestions but any alternative to solve this problem, begins to surpass my poor knowledge. Also, I’m starting to think that the multisite setup might not have been the best idea.

    So, I may be facing a new installation that will correct the way I originally installed WP, or perhaps I seek technical support to fix this problem.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘URL change’ is closed to new replies.