Support » Networking WordPress » network on another url

  • hello!
    a firm had devloped my site and now I have it in my server (bluehost.com) and it works so long I can not install network, but I need the network. as soon as I put coden in wp-config that redirect to the server that the developer had used. how can you change the network is working and using my url?

Viewing 15 replies - 1 through 15 (of 28 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    Hi
    Maybe I should explain more clearly. I have tried with codex without result. it’s been like that a person had made my site on a server (myclientdemo.com) and later transferred all the folders and files to mysite.com / temp (and he had installed wp ochsΓ₯). Since I moved folders and files to and wp to www (root). and in the admin changed the url from mysite.com / temp to mysite.com.
    the problem is that now when I create network according to codex, as soon as I copies the code to the wp-config, mysite.com goes into myclientdemo.com!
    What can I do to be able to create networks that do not redirect to myclient.com?
    Thanks in advance

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    What code are you putting in to your wp-config.php? It shouldn’t be able to do that unless someone messed up moving it in the first place.

    this one:

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'www.myclientsdemo.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    and when I change myclientsdemo to mysite, Iget the message :”Error establishing a database connection”

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    Yeah you forgot a line πŸ™‚

    define('WP_ALLOW_MULTISITE', true);

    See https://codex.wordpress.org/Create_A_Network#Step_2:_Allow_Multisite πŸ™‚

    I had done, before those codes exact as codex

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    You did not follow the directions on your SITE where it says to ADD those lines.

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'www.myclientsdemo.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    You ADD the new lines, not delete.

    Hi
    Exact after that I add the first step, I get it in my admin/tools

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    I’m sorry … I don’t know what that means. Are you saying that with the missing line added, the tools works?

    What I’m trying to tell you is your wp-config.php file is incomplete without that line.

    no missing I add the

    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);

    and then I got the

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'www.myclientsdemo.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    in my admin

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    Yes, the admin tell you to add more lines.

    To activate Multisite, you add this to wp-config:

    define( 'WP_ALLOW_MULTISITE', true );

    Then you go to the admin -> network setup page and you add (not replace, ADD) the following:

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'www.myclientsdemo.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    Making the ENTIRE section look like this:

    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'www.myclientsdemo.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    Does your wp-config section for multisite look like that? Yes or no?

    Hi
    thanks for the reply, the problem is that when I put the code in wp_config if I have subdomain is true, I get “http://www.borderlessnews.com/wp-signup.php?new=www.borderlessnews.com” in the address bar and diplsays: “This webpage has a redirect loop”
    Β  and if it is false, I get error database stabilishing.
    I have been in the database and changed all myclientdemo.com to borderlessnews.com which is my site url. Unfortunately I can not find the person who has developed the site in its server (myclientdemo.com).
    and I have contacted my web hosting and they say that there is no problem with htaccess

    As I said before I have bp group and bp linketc. and the wild card that will allow me to have the subdomain

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    Notice how the URL says http://www.borderlessnews…. ?

    Does your server or .htaccess enforce www in your domain?

    Hi
    it is www

    www without http

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘network on another url’ is closed to new replies.