2012-05-23 4 views
1

"500 - 내부 서버 오류"가 표시됩니다. 내 WordPress 사이트의 도메인에 있습니다.Wordpress 500 - 내부 서버 오류 (수정)

IIS (Win7)의 웹 플랫폼 설치 프로그램을 통해 로컬에 설치된 WordPress를 설치하십시오.

Firefox에서 로컬로 방문 페이지를 개발 한 다음 웹 서버에 사이트를 FTP로 보내고 (여러 도메인의 여러 사이트도 호스팅 함)

MySQL Workbench 5.2 CE를 사용하여 데이터베이스를 만들고 내보내고 서버에 업로드했습니다. 데이터베이스가 테스트되었습니다.

"Wordpress"및 "500 - Internal server error."와 관련된 모든 게시물을 읽었습니다. 아무도 도움이되지 않았습니다. 내가 포함 된 다음과 htaccess로 파일을 생성하려고했습니다

는 : IIS에서

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

# END WordPress 

모든 파일 경로는 정확합니다.

는 아래 WP-config.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', 'zxcvb'); 

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

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

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

에게 있습니다 도와주세요! 감사합니다

답변

0

Wordpress는 옵션 테이블에 도메인 별 설정을 저장합니다. 설치를 로컬에서 수행 한 후 외부 호스팅 제공 업체로 내 보낸 경우 WordPress DB 및 설정에서 해당 설정이 여전히 잘못 구성되어있을 가능성이 큽니다.

WordPress의 options 테이블을 확인하십시오 (필요에 따라 접두사를 추가하십시오). 로컬 설치 (URL 또는 리소스)를 참조하는 옵션에 대해 행을 살펴보고 호스팅에 적합한 해당 값으로 업데이트하십시오.

  • SITEURL
  • 집에 그 일단

가 올바르게 WP의 액세스 할 수 있어야합니다 설정은 다음과 같습니다 특히

, 나는 다음과 같은 option_name의로 행을 확인 좋을 것 이미지 URL과 그 밖의 다른 것들을 설치하고 관리 인터페이스에서 다른 것들을 고칠 수 있습니다.