WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Reset site url and lost front page

[Resolved] Reset site url and lost front page

  • 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’,’http://example.com/blog’);
    update_option(‘home’,’http://example.com/blog’);

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

    http://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)
  • 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…

    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 ‘[Resolved] Reset site url and lost front page’ is closed to new replies.
Skip to toolbar