Changing url in database messes up layout (1 post)

  1. fitzy75
    Posted 2 years ago #

    I have moved a site from a testing server to production and I am having some issues with one of the urls that is stored in the database.

    The one in question is in the theme_mods_gridiculous field and relates to the page background image, which is the default image for the theme.

    It is currently set to the IP address of the server, but I am trying to change it to the domain name instead, when I do this, it causes the menu order to mess up (as well as adding pages to the menu which shouldn't be there), and adds the 'froggy.jpg' (from the theme) banner above the menu.

    The file it points to is the same file, on the same server, it just needs to be referenced by the domain name instead of the IP. All other links to the IP address in the database have worked fine and it's just this one that causes any kind of issue and I can't work out why, it's really odd.

    Can anyone shed any light on this?

    Here is the code (IPs/domains in this code are not the real values but just an example):

    Here is what I change it to that causes the issue:

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.