mjrfxvi
Respuestas de foro creadas
-
Foro: Multisitio
En respuesta a: Problemas con multisite y otras dudasYa tengo configurado el multisite y enlazado, todo esta actualizado, ya que por allí partió el problema al parecer, cada sitio tiene sus tablas dentro de la BD, ya migre los post de uno de los sitios que perdió la información por base de datos, excepto las imagenes a pesar de que todo esto se carga en uploads y se supone esta todo en el mismo directorio y base de datos, no es que sea avanzado en gestión de base de datos pero algo se… En efecto es primera vez que hago algo en multisite pero no por eso dejare de hacer lo que deba, para buscar a un «profesional» o indagar al respecto. Gracias por la «ayuda»…
Foro: Multisitio
En respuesta a: Problemas con multisite y otras dudasHola, gracias a todos, como comenta @jose64 y su persona @kallookoo estoy trabajando como ustedes dicen, no sé que hizo esa persona en su momento y estoy casi igual, a ciegas y adivinando que hizo, Esto tiene una cantidad grande de plugins instalados pero para multisite y domain mapping tiene:
WordPress MU Domain Mapping
Multisite Post Duplicator
MultiSite Clone Duplicator
WordPress Importer
Copy & Delete Posts.htaccess
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress # Begin EnforceSSL xxxxxx <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?xxxxxx$ RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L] </IfModule> # End EnforceSSL
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.wordpress.org/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', 'factorxx.xxxxxx.com'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8'); /** 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.wordpress.org/secret-key/1.1/salt/ WordPress.org 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', '***********fq|xA?miB]vCYT=&SH^=lIQza)_w<e)][PZjM*+r&K[mg;V[!>?FtA;Hou{R*K]Hddvuazifaf&&$x)jZmEx|IKd_'); define('SECURE_AUTH_KEY', 'nH+F(k***********+x*N]UPH}Y*ceqNy+S!I<@NFF!uQVvEg@HcaAJnPeGf(m(kl&Hl(tnW}a|i%jgdeWSpO&<|KNJ?Fji;rcMO[w<^dVL;Ao]^Yn[c'); define('LOGGED_IN_KEY', '_$|*y_r$$P/_MTBn*new(OgBP@<tBNqMK{a)*FW/aYjCs_||CS)bV=XD!^ZI>=/C$C)_u!fp>H>]Y))G+=eN(fenUBRwq&]];b=z||x|zL+]Xh|I*<d*r>+TSVS+!]}M'); define('NONCE_KEY', 'Y+***********LF}*W@zD$KO!<vm_%Qb<gT>g[-@^^YATIt[}nzaHQU/hOOUNejK+EjtVlDNHB&FN)Fufnnl$+p*v?u{{NQYZgM=LI;'); define('AUTH_SALT', ']}BAo>bFbF&R*wIR@AT)q&hr;eTv{A!xm=Y/BVF-E$/]ce^c!I[_]+qhsgp[HS!f=eZ=OewY|;/(+is{uhp|$>Y$xO%aK%kf=Gb%(Xk!NF%k<mzOFgYuT}?{Bn;>]ryA'); define('SECURE_AUTH_SALT', '_=$K*A^iU>?+U(ahUOo}UL}chTX<oM(uA/Lm{w]He_lAVI!<^aIDW}x^O@|@CDcV</Pas}s/O!VAiA]dPO[]*OD!-DC!IJjpq@wWn)cQCc()!*_;FeRP$PF^fr*$LO;-'); define('LOGGED_IN_SALT', 'aL$J<CI&an@[i+JWn%@zSLA!MWRl{q|gVto?zIvdIXb%X-FIOo=ZqUbEN{)w)[xrm}bHG-!&xNmoDXa@<Q%CamcnEOos&+YyqE$XzK;_PLY=@%=lq-o$Cw}Y]S+vn%uo'); define('NONCE_SALT', 'uIN*h|%rxATWUnbWVl<UmBwzu^>_@^vjM]tq|jP;*Jg(lK_Yfyr%aEr&]@IR$$DaT&WNF=I?=myO^T%_js;V?js[@cEo*rzpvzPtq{d<h-TIC*};fpY+JR>l!qJGg?s['); /**#@-*/ /** * 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_patx_'; /** * 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.wordpress.org/Debugging_in_WordPress */ define('WP_DEBUG', false); /* Multisite */ define( 'SUNRISE', 'on' ); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'www.prensaxxxx.xx'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); /* define ('WP_MEMORY_LIMIT', '300M'); */ /* That's all, stop editing! Happy blogging. */ /** 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'); /** * Include tweaks requested by hosting providers. You can safely * remove either the file or comment out the lines below to get * to a vanilla state. if (file_exists(ABSPATH . 'hosting_provider_filters.php')) { include('hosting_provider_filters.php'); } */
Donde pone xxxxx es un dominio al que esta forzado https y ssl, y en el wp-config es datos del dominio principal y servidor, no lo coloco por seguridad. Esto es todo en el htaccess y wp-config…
Algunas cosas he tenido que hacerlas por BD, depurar la B e ir quitando plugins que causan problemas, lo que veo es que esta instalación y configuración viene de 2018 y wordpress no tenia funcionalidades que hoy si…
Por el momento quisiera restaurar los post de uno de los sitios sacados de una BD de otro sitio que sí esta funcionando.
- Esta respuesta fue modificada hace 3 años, 7 meses por jose64. Razón: Ocultar datos por seguridad
Foro: Multisitio
En respuesta a: Problemas con multisite y otras dudasHola @kallookoo esta configuración la encontré ya hecha por otra persona, pero me remitieron a solucionar porque esta persona ya no esta en el equipo.
Por lo que veo ha sido con subdominios, pero redirigiendo a un dominio principal, por ejemplo… Agregaron el site nuevo que termina siendo red2.tudominio1.com, luego de esto, se editó para agregar el dominio principal siendo red2.com, este dominio ya esta comprado.
He solucionado algunos sitios, me habían dado a entender que cada uno tenia una BD distinta, pero buscando resulta que no, comparten la misma BD con tablas distintas. Lo que hice fue desactivar los plugins y pude ingresar, sin embargo uno de los sitios no lo pude recuperar por lo que tuve que generar un nuevo ID/Dominio que se enlazo a las nuevas tablas de la BD, pero… Me quedo completamente vacío el sitio. Probe con multisite post cloner que se supone copia todo. Pero no lo hizo.