• Resolved iritherman

    (@iritherman)


    I gave a name to the wordpress folder in my server,
    Now I want to change the name of the foldern and the name of the url.
    I tried to change it in the config.php
    Icopied all the files to a new folder

    I tried to change it in the config.php
    define(‘DOMAIN_CURRENT_SITE’,’url’;
    define(‘WP_HOME’,’url’;
    define(‘WP_SITEURL’,’url’;
    define(‘RELOCATE’, true);
    it doesn”t work.
    Irith

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hey

    In order to change the primary domain in Multisite, you have to do this in the database well.

    You must change it in all the following places:

    wp_options: options named “siteurl” and “home”
    wp_site
    wp_sitemeta: the option named “siteurl”
    wp_blogs: any entries in the “domains” column that have the old domain name
    wp_#_options: Each sub-site will have sets of tables that correspond to the blog_id in the wp_blogs table. You need to go to the wp_#_options table, where # corresponds to the blog_id, and update the “siteurl” and “home” settings in that table.

    You may also need to consider using a full database search and replace tool like:

    https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Hope this helps!

    Thread Starter iritherman

    (@iritherman)

    Thank you very much!
    i used the database search and replace tool .
    and now it is O.K
    Irith

    Awesome that is great to hear. Have a good evening!

    Thread Starter iritherman

    (@iritherman)

    now I have A problem
    I can”t see the sub sites, may be i changed too much. it can be in the name of the database , that I didn”t change.
    where in the tables I can see it?

    Thread Starter iritherman

    (@iritherman)

    I fixed it!

    OK great , glad to hear you got this resolved ?? Take care

    Thread Starter iritherman

    (@iritherman)

    I don”t know if it worked good with the Permalink before,
    but now it is not working
    Irith

    Thread Starter iritherman

    (@iritherman)

    Hi Mike
    Can you help me please with the permalink?
    Thanks
    Irith

    Mike Price

    (@castroboy)

    HI Irith

    What is the link to your site and what isn’t working? Thanks!

    Thread Starter iritherman

    (@iritherman)

    Mike Price

    (@castroboy)

    Ok two things to check,

    Go to your htaccess file via FTP or file manager and make sure that the htaccess rules read exactly the way they should be as seen here:

    https://codex.www.ads-software.com/htaccess

    If the rules match exactly for the type of Multisite you have, then reset your permalinks in wp-admin by setting them back to Default, saving them and then setting them back to your desired structure and saving them again.

    Thread Starter iritherman

    (@iritherman)

    I did it several times but it is not working.

    Mike Price

    (@castroboy)

    Contact your host ASAP.

    Thread Starter iritherman

    (@iritherman)

    The problem is that the my host doesn”t know what to do

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘I have a multisite and i want to change the url’ is closed to new replies.