Mulri Site

Message:
Warning: We have detected an existing WordPress network.

When I do a multisite I don´t select de options: Sub-directories. How do I select this option :slight_smile:

Regards!
Lucas.

  • Timothy Bowers
    • Chief Pigeon

    Hey there.

    So has this been a multisite before?

    If it's already detecting a network being present then chances are the tables exist already.

    You'll need to remove those tables and any data in them.

    Was every instruction followed and are you somehow sharing the DB with another install?

    Do you have network tables like:

    _blogs
    _blog_versions
    _site
    _sitemeta

    These are the network tables, let me know.

    Take care.

  • Timothy Bowers
    • Chief Pigeon

    Well that's why you're update to multisite is detecting a multisite install already. It's because those tables exist.

    Were you running a multisite before?

    Do you still need those tables?

    If you don't then remove them and upgrade the current install as normal.

    If you do then you need to account for those and finish adding all the relavant changes to make your site work in Multisite.

    But you do, what was the reason for downgrading from multisite before?

    Just wondering why those tables exist in the first place.

    Thanks.

  • Timothy Bowers
    • Chief Pigeon

    Hey there.

    You can only have subfolder or subdomain. You can't have both and swapping between them would invole changing your wp-content.php htaccess and all references within the DB.

    If you've not done any real work on it then it would probably be easier to just start again. If you need to retain all the content then going through the process of altering the DB will be needed.

    Take care.

  • Timothy Bowers
    • Chief Pigeon

    Hey again.

    Sorry, I don´t understand that I have to do :slight_smile: How I sep up for: http://www.mydomain.com/idioma.

    Have you already set up multisite?

    If you have and you went for sub domain then the only way to change that is by manually changing your htaccess file, wp-content file and finding and replacing all DB references to domain previously.

    it's not the easiest of things to do and can be time consuming depending on the size of your install.

    - I have a new problem too :slight_smile: I set up the WP for http://www.domain1.com. My cliente hasn´t renewed the domain :-O So... How I can change the settings for the new domain (www.domainn2.com) from Word Press files.

    Sure, you can read further here:

    http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change

    Take care.

  • curlin
    • New Recruit

    Hi,

    The change is difficult for me. So, I prefer leave the actual setup: idioma.domain.com I have created the domain: galicia.domain.com then go to the confing.php and change:

    define('WP_ALLOW_MULTISITE', true);

    then go to the site > I had selected: subdomain.domain.com

    Then I change:

    confing.php:

    ------------------------
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'teloguardo.ws');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    ------------------------

    .htaccess
    ------------------------
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    ------------------------

    After setting I refresh the page and I have this error: Failed to connect to the database.

    Whats is It wrong?

    Best regards,
    Lucas.

  • Timothy Bowers
    • Chief Pigeon

    Hey there.

    After setting I refresh the page and I have this error: Failed to connect to the database.

    Whats is It wrong?

    Either your details are incorrect in the wp-config file Or your database connection is missing.

    You could check where the DB settings are to ensure it's all correct still.

    Let me know.

    Thanks.

  • curlin
    • New Recruit

    Hi,

    Error.
    ______________________

    Please complete the configuration steps. To create a new network or eliminate the need to empty the network tables in the database.
    ______________________

    How I put empty the network.

    Thanks!!!!!!!!!!!!!

  • Timothy Bowers
    • Chief Pigeon

    This is a new message now?

    Before you said it was the DB message and then about changing the from sub domain to sub folder and before that you already had some existing tables.

    I'm confused as to what you've done, doing and where you are here or if these issues are 100% fully resolved before going onto a new issue.

    Are the other issues in this thread now resolved?

    Please complete the configuration steps. To create a new network or eliminate the need to empty the network tables in the database.

    Are all the steps complete? If not complete them please.

    If you could please clarify exactly where we are here and what's needed to be done, whats complete so far from this thread.

    Thanks.

  • curlin
    • New Recruit

    Hi,

    First of all Sorrrrry! I'm also a confused.

    You'll need to remove those tables and any data in them >I have not deleted anything

    Now, Have I delete this data?
    _blogs
    _blog_versions
    _site
    _sitemeta

    Have I no problem with the content?

    Regards,
    Lucas.

  • curlin
    • New Recruit

    Hi,

    First of all Sorrrrry! I'm also a confused.

    You'll need to remove those tables and any data in them >I have not deleted anything

    Now, Have I delete this data?
    _blogs
    _blog_versions
    _site
    _sitemeta

    Have I no problem with the content?

    Regards,
    Lucas.

  • Timothy Bowers
    • Chief Pigeon

    Hey again.

    OK so removing those tables, this was in response to your error:

    Warning: We have detected an existing WordPress network.

    I was asking that if you get this error you go check if those tables exist. If this is a new Multisite then they shouldn't exist already.

    So if this is right:

    I installed the multisite but never let me choose between sub-domain or directory. Why? I have followed all the steps.

    This would imply that multisite was setup before?

    If it was then those tables would exist.

    So I wasn't sure how you got this stage?

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.