Viewing 6 replies - 1 through 6 (of 6 total)
  • Get SSH access to the server your MySQL database is hosted on. Run the query:

    UPDATE wp_options SET option_value=’https://yourURLhere/’ WHERE option_name=’home’ OR option_name=’siteurl’;

    If you don’t have access, your host will need to do it.

    Thread Starter marcooonk

    (@marcooonk)

    Thanks for the advice. I’m afraid I need to go another way. Don’t know how to run queries. I do have access to all the folders. Hosting provider says it’s a wordpress thing and won’t help…

    Can I change code (temporarily?) in a folder to point it in the right direction? Both URL’s now point to shacabi.com instead of shacabi.com/blog. Is there a file that holds this information in the Blog folder where I could change this? Or is this all jibberisch? Otherwise, can I move all folders to the root instead of in the Blog directory to ensure the changed URL’s point in the right direction?

    Thanks

    Marco

    Thread Starter marcooonk

    (@marcooonk)

    I can not find a wp-options.php

    I did find WP-Admin/Options-general. It has the following code which seems to be the code for this screen. According to the turorial: ‘Giving wordpress its own directory’ I can change the code to reset the path to the one in the (now invisible) dashboard

    Perhaps it’s a 2.7/2.8 thing but it’s not clear where I would change the code. I want to add https://www.shacabi.com/blog for both the URL’s

    Any ideas?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Thread Starter marcooonk

    (@marcooonk)

    Brilliant, thanks so much. This was definitely the most dicy moment in my early blogging days. All back up now with the quick fix method using the config file from the theme.

    Big and loud sigh of relief, thought this was going to be an all-nighter… I’ll try and move my blog to https://www.shacabi.com (not/blog) later when I’ve recovered mentally from this one…:-)

    Thanks

    I followed the instructions about changing the URL directly in the database and it worked for my home page, however my other pages are still not showing up and have the correct URL. However I did not delete the wp-content/cache folder because I do not know where that is, or how to get to it.

    Please help!

    Thank you!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Accidentally changed URL in General. Blog invisibl’ is closed to new replies.