Configuración wp para instalar WordPress

  • Autor Autor Luismy087
  • Fecha de inicio Fecha de inicio
L

Luismy087

Gamma
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Hola chicos. Intento instalar wordpress pero me dice: Abre el archivo wp-config-sample.php con un editor de texto plano y rellena los datos de la conexión a tu base de datos.
Guarda el archivo como wp-config.php.

Hasta ahi bien, abro el archivo con bloc de notas y ya me pierdo... Alguien puede decirme paso por paso que es lo que tengo que cambiar. MuCHAS GRACIAS.







<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link Editing wp-config.php « WordPress Codex Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** 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', 'put your unique phrase here');
define('SECURE_AUTH_KEY', 'put your unique phrase here');
define('LOGGED_IN_KEY', 'put your unique phrase here');
define('NONCE_KEY', 'put your unique phrase here');
define('AUTH_SALT', 'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT', 'put your unique phrase here');
define('NONCE_SALT', 'put your unique phrase here');

/**#@-*/

/**
* 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_';

/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
define('WPLANG', '');

/**
* 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.
*/
define('WP_DEBUG', false);

/* 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');
 
Tienes que cambiar esto


PHP:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'NOMBREDETUBASEDEDATOS');

/** MySQL database username */
define('DB_USER', 'TUUSUARIO');

/** MySQL database password */
define('DB_PASSWORD', 'TUCONTRASEÑA');

/** MySQL hostname */
define('DB_HOST', 'ACATUHOSTNAME');

/** 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', '');

Y listo 😀

Lo demás dejalo como está, algunas veces el /** MySQL hostname */ se debe quedar en LOCALHOST pero depende del hosting, si no lo sabes o no lo encuentras pregunta a tu host :encouragement:
 
He echo todo lo que usted me ha dicho... y nada no me sale nada luego Enlace eliminado me da error... que hago? Lo siento soy muy torpe
 
Pero no estás colocando los mismos datos que te puse de ejemplo verdad? Ve a tu panel de tu hosting y crea una base de datos y un usuario, también necesitarás ponerle una contraseña y todos los permisos activados, luego pregunta a tu hosting cual es el "MySQL hostname" que lo necesitas para instalar wordpress y listo

O en caso extreeeeemo, dile a tu servicio tecnico que te realice la instalación y listo 😉
 
Si usas cPanel accede a phpMyAdmin, crea una base de datos, un usuario y una contraseña del usuario. Tendrás que poner estos datos en los campos que te dijo shisanfercas. Normalmente en el de hostname se pone "localhost", y cambiando los 3 primeros sería suficiente.
 
Ahora que recuerdo, también tuve problemas con 1and1 en su momento, era problema del .htaccess

abrelo y añade la siguiente linea al iniciar

PHP:
AddType x-mapp-php5 .php

Vuelve a probar, suerte! :encouragement:
 
donde esta el .htacces?¿? gracias
 
En el directorio raíz de tu almacenamiento web. Por si no lo haces ya, te recomiendo que instales FileZilla y configures una cuenta de FTP para administrar todos los archivos de la cuenta, desde donde te será muy fácil cargar el nuevo wp-config.php. Ah, acuérdate de borrar el texto "-sample" del fichero cuando hayas hecho los cambios.
 
No ahi manera... no encuentro el .htacess...

- - - Actualizado - - -

Lo doy por perdido... si alguien puede ayudarme este es mi skype: newtemazoshot

- - - Actualizado - - -

Problema solucionado gracias.

- - - Actualizado - - -

solucionado gracias.
 
Atrás
Arriba