• I went to change my url inside of wp-config.php and I must have done something VERY WRONG, cause now all I see is a white screen where my site used to be. And to make matters worse I didn’t back up my wp-config.php before I started editing… Please help!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Lightsoutlees

    (@lightsoutlees)

    <!--?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 https://codex.www.ads-software.com/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', 'REMOVED');
    
    /** MySQL database username */
    define('DB_USER', 'REMOVED');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'REMOVED');
    
    /** MySQL hostname */
    define('DB_HOST', 'REMOVED');
    
    /** 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.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com 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
     */
    
    [REMOVED]
    
    /**#@-*/
    
    /**
     * 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_';
    
    /**
     * 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');
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    NEVER POST THE FULL CONTENT OF YOUR WP-CONFIG FILE IN PUBLIC!

    You need to go change your DB password RIGHT NOW. Seriously, you just told everyone your DB domain, your password AND user name. NEVER do that again.

    Okay, you did that?

    <!--?php

    Does it really start with that?

    Thread Starter Lightsoutlees

    (@lightsoutlees)

    Wow, thank you! I should of known better then that. I wasn’t thinking!
    Anyways, I did change my password.

    Any suggestions on how to find the problem I have with my wp-config.php?
    Yes, the file that (I seamed to have changed something) does start with <1–?php

    I was trying to edit to change my url to get rid of wp at the end of the url and messed something up somewhere in the code somehow. Thanks for you help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I changed my wp-config.php now have white screen’ is closed to new replies.