Viewing 6 replies - 1 through 6 (of 6 total)
  • autotutorial

    (@autotutorial)

    had that domain been added by you?
    Multisite have wp_x_options (x is int value) for not primary site , wp_options is for primary site.
    backup your file via ftp and mysql https://www.ads-software.com/support/article/wordpress-backups/
    Use Super Admin user (not Normal Admin) for primary site.
    https://yourprimarysite.com/wp-admin/network/ (total access for all).
    in no case you have to manually change the values ??present in the database because in the database they are stored as objects and string length, if some plugin uses them things did not appreciate.

    Thread Starter jeroen1981

    (@jeroen1981)

    Hi there!

    Yes, the domain has been added by me. The main website is a hosted-community software but I control the DNS so I added a record for this subdomain and made an hosting account for this wordpress. Did the install myself with the latest version. No automated thing from the hostingprovider.

    When i go to this page i get a:

    “Multisite support is niet geactiveerd.” which is dutch for: Multisite support not activated

    autotutorial

    (@autotutorial)

    sorry I didn’t understand what you wrote but I’ll explain how wordpress works. Install WordPress apply for the multisite and you must add a constant in your wp-config.php from that moment you can choose by subdirectory or subdomain (an htaccess file and other constants will be created in wp-config.php) From wordpress 4.5 (without using WordPress MU Domain Mapping or other plugins) when from the network you edit a secondary domain (I think a new table is created that remembers the new domain from the old path). an example follows network (primary site) domain.tld installation with subdirectory secondary site domain.tld/site1 (with or without http/https) with subdomain site1.domain.tld (you can only create secondary sites that are based on the network in this case added by subdomain site1 and added network domain.tld) domain.tld domain mapping can be any domain you have also chosen a domain without domain.tld example from site1.domain.tld to new.site.com (in this case you should have new.site.com in your database pointing to site1.domain.tld). I believe that the use of the relocate constant has restored your multisite in normal installation (has modified htaccess and wp-config.php) if you can enter your database on phpmyadmin after clicking your database name you can search for tables with prefix wp if you don’t use wp but you have customized your prefix for example word you have to use this last one for the search, the tables wp_x_ (where x is a numerical value represents your secondary site) (to understand if you use subdirectories or subdomains) I don’t know how to indicate the tables for the mapping you will have to arrange yourself. Important do not change manually in your database (in some cases you can install a plugin that does this work for you but first you need to understand what installation it was and maybe backup your files and database). Can you bring me the path of wp_x_? Can you bring back your htaccess? Can you bring me the variables in your wp-config.php? (no password, nothing about the salt or the database but after the constant Multisite) Can you give me the name of the mapping table and the route?

    Thread Starter jeroen1981

    (@jeroen1981)

    Hi there,

    I’m not sure if I can follow you completly but here are the files you requested:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    and the wp-config

    <?php
    /**
     * The base configuration for WordPress
     *
     * The wp-config.php creation script uses this file during the
     * installation. You don't have to use the web site, you can
     * copy this file to "wp-config.php" and fill in the values.
     *
     * This file contains the following configurations:
     *
     * * MySQL settings
     * * Secret keys
     * * Database table prefix
     * * ABSPATH
     *
     * @link https://codex.www.ads-software.com/Editing_wp-config.php
     *
     * @package WordPress
     */
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', '##############' );
    
    /** MySQL database username */
    define( 'DB_USER', '##############' );
    
    /** MySQL database password */
    define( 'DB_PASSWORD', '##############' );
    
    /** MySQL hostname */
    define( 'DB_HOST', 'localhost' );
    
    /** Database Charset to use in creating database tables. */
    define( 'DB_CHARSET', 'utf8mb4' );
    
    /** The Database Collate type. Don't change this if in doubt. */
    define( 'DB_COLLATE', '' );
    
    /**#@+
     * Authentication Unique Keys and Salts.
     *
     * Change these to different unique phrases!
     * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secret-key service}
     * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
     *
     * @since 2.6.0
     */
    define( 'AUTH_KEY',         '##############' );
    define( 'SECURE_AUTH_KEY',  '##############' );
    define( 'LOGGED_IN_KEY',    '##############' );
    define( 'NONCE_KEY',        '##############' );
    define( 'AUTH_SALT',        ' ##############' );
    define( 'SECURE_AUTH_SALT', ' ##############' );
    define( 'LOGGED_IN_SALT',   '##############' );
    define( 'NONCE_SALT',       '##############' );
    
    /**#@-*/
    
    /**
     * WordPress Database Table prefix.
     *
     * You can have multiple installations in one database if you give each
     * a unique prefix. Only numbers, letters, and underscores please!
     */
    $table_prefix = 'wp_';
    
    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     *
     * For information on other constants that can be used for debugging,
     * visit the Codex.
     *
     * @link https://codex.www.ads-software.com/Debugging_in_WordPress
     */
    define( 'WP_DEBUG', false );
    
    /* That's all, stop editing! Happy publishing. */
    
    /** Absolute path to the WordPress directory. */
    if ( ! defined( 'ABSPATH' ) ) {
    	define( 'ABSPATH', dirname( __FILE__ ) . '/' );
    }
    
    /** Sets up WordPress vars and included files. */
    require_once( ABSPATH . 'wp-settings.php' );
    
    autotutorial

    (@autotutorial)

    Without this constant this normal WordPress
    Enable network for wp-config.php
    You can access into mysql? Phpmyadmin wp_site, wp_blogs wp_2_options please send me.

    autotutorial

    (@autotutorial)

    I ask you for this information to create htaccess and the constants in wp-config.php right

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘faulty redirect for /wp-admin/’ is closed to new replies.