Ajuda para eliminar redirecionamento de Wordpress

  • Autor Autor SoWhat
  • Data de início Data de início
Tradução em andamento: em alguns minutos este tópico estará em português. Por enquanto, o conteúdo está no original em espanhol. Ver original
S

SoWhat

1
Zeta
SEO
Suscripción a IA
Chicos necesito su ayuda, porque soy malisima con codigos, DB, …etc, hice unos cambios y ahora tengo la web offline y no se como arreglarlo.

Instale wordpress en misitio.com/Wordpress y cada vez que la gente entraba a mi blog por supuesto se dirigia automaticamente a misitio.com/Wordpress.

ok, todo perfecto hasta ahi! ...No me gusta esa direccion y pase todos mis archivos (incluyendo todo lo de la carpeta wordpress) al ROOT "/" para que la direccion de la web sea misition.com/ y no misitio.com/Wordpress

El problema:

El blog todavia redirige hacia misitio.com/Wordpress, y por supuesto sale "500 Internal Server error".

Que quiero? :


Quiero que el blog sea misition.com y no misitio.com/Wordpress, y claro, que no tenga el "500 Internal Server error".

Como hago para resolver esto sin plugin?
 
Foi útil? Participe da conversa

Com sua conta grátis você pode responder, mandar mensagem privada ao autor e comprar com Saldo retido: o pagamento é liberado quando você recebe o combinado.

Leva 30 segundos · você volta a este tópico ao terminar
En el archivo wp-config.php busca lo siguiente:

PHP:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

En donde "E x a m p l e .com" debe ser la URL de tu sitio .com, edítalo.

Eso debería de solucionar el problema.
 
Última edição:
En el archivo wp-config.php busca lo siguiente:

PHP:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

En donde "E x a m p l e .com" debe ser la URL de tu sitio .com, edítalo.

Eso debería de solucionar el problema.

No me sale ese codigo, te pongo todo mi archivo wp-config.php:

PHP:
<?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 http://codex.wordpress.org/Editing_wp-config.php 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', 'xxxxx');

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

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

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

/** 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',         '%%q@YaO5Q+XihawjDuP`Tc&vxek#:2');
define('SECURE_AUTH_KEY',  'jWpu|io?I69F/Kahy3w$yc:ZkfD8Ge');
define('LOGGED_IN_KEY',    'r#kw``uOk6H$D+Wmdfe4t1JJt_/a');
define('NONCE_KEY',        'LF4fiv_Wc6ET"K7@ma&bd)z:MR#0i#x/Djshavshjds');
define('AUTH_SALT',        '89:4v)0zEQlR/0q~Qfdn1GoDL7S/0R3csbdahsjha');
define('SECURE_AUTH_SALT', '++G1D2TN5jN1NEdBk_*zz:lvziv"S$g');
define('LOGGED_IN_SALT',   'o5B/|q"o%9RXuj2M@(dMj6+c:QYjp/7Kjksjbk');
define('NONCE_SALT',       'CVhxN^UVoe|20+OJU5tM92`V+zp_?l');

/**#@-*/

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

/**
 * Limits total Post Revisions saved per Post/Page.
 * Change or comment this line out if you would like to increase or remove the limit.
 */
define('WP_POST_REVISIONS',  10);

/**
 * 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');
 
Añade manualmente las líneas de código que te indiqué inmediatamente después del "<?php" al inicio del archivo wp-config.php.
 
Añade manualmente las líneas de código que te indiqué inmediatamente después del "<?php" al inicio del archivo wp-config.php.

Agregue el codigo pero seguia igual …A la final le mande un email a mi compañia de hosting y me lo arreglaron!
De igual forma, muchas gracias Marcos!
 
Voltar
Topo