• Getting a few 404 errors on some pages after recently receiving, unzipping and standing up our newly built website based on Word Press 4.5.4 and the Divi Theme. I managed to edit the URL for most of the images using the Divi Builder editor. However, it would appear that some parts of the homepage were built with the Word Press default editor before switching to the Divi Theme and the Divi Builder for further editing. Therefore, in order to maintain the code generated by the Divi Builder by not switching back to the WP default editor, I’ll need to edit the SQL database directly.

    Looking at the wp_redirection_404 table, there are only 2 items that contain the wrong path; a header image and the All-in-One Event Calendar by Time.ly plugin. In the case of the home page header image, the path is missing /wp-content/, while the plugin shows /content/, rather than /wp-content/. I’ve looked at the wp_posts, wp_postmeta tables as well as others, but can’t seem to locate where the path is being designated for the header image and that plugin. I have a feeling that I’m very close.

    And suggestions? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try Go Live Update URLS:
    https://www.ads-software.com/plugins/go-live-update-urls/

    It will help you find the remaining pesky URLs. ??

    Thread Starter 2tallinva

    (@2tallinva)

    Hello Tia:

    Thank you for alerting me to that plugin. However, I’m not sure it’s going to help in this case as the problem doesn’t appear to be related to the new site url but rather to a missing subfolder name and an incorrect subfolder name. Both having to do with the /wp-content/ folder not being a part of the url or incorrectly written as simply /content/. That plugin won’t allow me to run it without specifying the old url and the new url which suggests to me that it is only concerned with correcting that part of the url dealing with the domain name.

    BTW, I backed up everything before installing the plugin.

    • This reply was modified 8 years, 2 months ago by 2tallinva.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Editing database tables directly to correct 404 errors’ is closed to new replies.