• Resolved therealjb

    (@therealjb)


    New to wp…

    Installed a few days ago, modified theme, uploaded content – jobs a good ‘un.

    Today, trying to change the ‘home’ link to go the my actual site home, not blog hom – changed wrong setting! (woops!)

    So I added this to my theme functions.php

    ‘update_option(‘siteurl’,’https://example.com/blog’);
    update_option(‘home’,’https://example.com/blog’);

    and reset itto the correct URL, and now everything works except for the front page…

    https://www.mother-ship.com/blog

    even the right hand navigation doesn’t load.

    Can anyone help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter therealjb

    (@therealjb)

    ps – when i reset the theme to default or classic, the content is there –

    so i tried uploading the theme again, and using that one but the content is still missing…

    Thread Starter therealjb

    (@therealjb)

    Thanks any way guys,

    I uploaded each file over a new theme installation one by one, it was my index.php, I’d put a piece of code in the wrong place (and looks like I hadn’t noticed it fail til after the loss of the url)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reset site url and lost front page’ is closed to new replies.