Forums

Made a big Mistake with WordPress URL (2 posts)

  1. viewtribe
    Member
    Posted 2 years ago #

    Hello. I made a big mistake which judging by google searches, is common. I accidentally edited the WordPress URL under my blog's settings. I found this site and other posts which said to fix it in phpmyadmin and did so with no problem:

    http://www.wordpressmax.com/wordpress-guide/changed-wordpress-address-cant-login

    The right after, i started getting: Parse error: syntax error, unexpected T_STRING in /home/content/q/v/i/qvia1/html/viewtribe/wp-config.php on line 4

    Idk what to do :(! Please help. I tried everything and double checked my wp-config.php and its perfect.

  2. viewtribe
    Member
    Posted 2 years ago #

    Ok I have no idea why this worked but I'm so happy! My sister prayed for me -- cause I was almost about to cry -- then a few mins later I did this and it worked! God is so awesome!

    I just deleted all the comments at the very top of the wp-config.php file just after <?php and all the way to the last */ before it says define('DBNAME etc... So I deleted this:

    /** * 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 */

    Hope this will help someone else one day.

Topic Closed

This topic has been closed to new replies.

About this Topic