premiumapts
Respuestas de foro creadas
-
Foro: Guías – Resolución de problemas
En respuesta a: Error base datos al crear multisitehe empezado de nuevo y cuando accedo a la red lo primero que me dice es esto
Completa los siguientes pasos para activar la función de creación de red de sitios.
Cuidado: Te recomendamos que hagas copia de seguridad de tus archivos wp-config.php y .htaccess.
Añade lo siguiente a tu archivo wp-config.php en /home/premiuma/public_html/ sobre la línea que dice
/* ¡Eso es todo, no hay que editar nada más! Feliz blogging. */:
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘premiumapartaments.es’); define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);Añade lo siguiente a tu archivo .htaccess en /home/premiuma/public_html/, remplazando las reglas existentes de WordPress:
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]Una vez que completes estos pasos tu red estará activa y configurada. Deberás acceder de nuevo. Acceder
no se si me queda un paso por medio o que tengo que hacer
Foro: Guías – Resolución de problemas
En respuesta a: Error base datos al crear multisiteGracias por contestar.
No, segui las instucciones igual lo mal interprete priemro tenia que cambiar el wp-config.php añadiendo esto
/* Multisite */
define(‘WP_ALLOW_MULTISITE’, true);reinicie y ya tenia para hacer la red luego segui
1. Add the specified lines to your wp-config.php file
The extra lines go just after where you added the line in Step 1: Prepare Your WordPress.2. Add the specified lines to your .htaccess file
If you do not have a .htaccess file, then create it in the same directory as your wp-config.php file.
In some cases you might also have to add Options FollowSymlinks at the start of the file.After completing these steps, log in again using the link provided. You might have to clear your browser’s cache and cookies in order to log in.
http://codex.wordpress.org/Create_A_Network#Step_1:_Prepare_Your_WordPress
y siguiendo las instrucciones del mismo wordpress tenia que volver a cambiar el wp-config.hph añadiendo
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘premiumapartaments.es’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);y el .htaccess como me indica
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]sobre escribiendo el anteior
el fallo solo me lo da en esas tablas la tengo creadas sin numero, no se si cambiandoles el numero o duplicandolas serviria.