Forums

I screwed up! wp-config.php overwrite, recovery question (4 posts)

  1. Anonymous
    Unregistered
    Posted 3 years ago #

    I was installing another WP copy in another directory and inadvertently uploaded wp-config.php to an existing install directory and overwrote my wife's WP blog at EvolvingMom.com

    Since then I've corrected the problem enough to at least get the content back on the site through fixing the wp-config.php and restoring the MySQL database, however every link on the page is broken and going to a 404 page. (although the links look correct)

    The URLs appear to be setup correctly, see here in Google Cache:
    Google Cache of the Site
    ...but the links are all going to 404 pages.

    So I think there's still a variable setup wrong somewhere where it's pointing to the wp_config.php file variables that i uploaded in error? Any idea where this issue is?

    Thanks much in advance!

  2. Anonymous
    Unregistered
    Posted 3 years ago #

    i think maybe WordPress is pulling the data from the right table, but somehow the links aren't being pulled from the right table?

  3. omgitztrey
    Member
    Posted 3 years ago #

    Have you tried just re-updating your permalinks? It's probably something that gone iffy in the .htaccess file

  4. Anonymous
    Unregistered
    Posted 3 years ago #

    yeah, you nailed it. It was the .htaccess file.

    Once I made the changes all's well again.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic