WordPress.org

Ready to get started?Download WordPress

Forums

Gridiculous
Changing url in database messes up layout (1 post)

  1. fitzy75
    Member
    Posted 4 months 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):
    a:9:{i:0;b:0;s:16:"header_textcolor";s:3:"333";s:16:"background_color";s:0:"";s:16:"background_image";s:96:"http://222.22.222.22/domain.co.uk/wp-content/themes/gridiculous/library/images/solid.png";s:17:"background_repeat";s:6:"repeat";s:21:"background_position_x";s:4:"left";s:21:"background_attachment";s:5:"fixed";s:12:"header_image";s:13:"remove-header";s:18:"nav_menu_locations";a:1:{s:7:"primary";i:2;}}

    Here is what I change it to that causes the issue:
    a:9:{i:0;b:0;s:16:"header_textcolor";s:3:"333";s:16:"background_color";s:0:"";s:16:"background_image";s:96:"http://domain.co.uk/wp-content/themes/gridiculous/library/images/solid.png";s:17:"background_repeat";s:6:"repeat";s:21:"background_position_x";s:4:"left";s:21:"background_attachment";s:5:"fixed";s:12:"header_image";s:13:"remove-header";s:18:"nav_menu_locations";a:1:{s:7:"primary";i:2;}}

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.