1

I recently made a small change to my wp-config.php by adding a memory limit line on a local version that didn't have the correct db settings. When I uploaded it, the db connection obviously broke. After I corrected the db settings and re-uploaded the wp-config.php, I was greeted with the installation page.

Now all my links are broken, even after refreshing the permalinks. However, all the data is still in my db. How do I reconnect all my pages to the db so that I don't loose any settings?

3
  • If the database information is correct, things should work. Something has happened that you haven't explained.
    – s_ha_dum
    Mar 29, 2014 at 6:28
  • This was the line I added: /** Increase PHP Memory Limit. */ define( 'WP_MEMORY_LIMIT', '64M' );
    – sdgenxr
    Mar 29, 2014 at 12:59
  • 2
    That line should not have caused the problem you describe.
    – s_ha_dum
    Mar 29, 2014 at 13:41

1 Answer 1

0

It looks like the problem was the db table prefix. My local config file had the wrong table prefix and once that was changed, everything was where it should be.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.