• Resolved oznola

    (@oznola)


    hi,

    i need to reset wordpress address (uri):

    it is suppose to be https://alonzofretwell.com but i changed it to https://alonzofretwell.com/../../usr/share/wordpress because that is where my core files are located. but this was unneeded because of the sym link from /home/web to /usr/share/wordpress.

    subsequently i get what you see when you click on the first link.

    where is that information stored so i can change it back please?

    i know it is not in wp-config.php here is the contents of that file…

    <?php
    /** WordPress's Debianised default master config file
    Please do NOT edit and read about how the configuration works in the README.Debian
    **/
    
    require_once('/etc/wordpress/config-'.strtolower($_SERVER['HTTP_HOST']).'.php');
    
    define('ABSPATH', '/usr/share/wordpress/');
    
    require_once(ABSPATH.'wp-settings.php');
    ?>

    i could not find it in wp-settings.php either.

    please advise.

    thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Consider using phpMyAdmin to make sure your wp_options table has the correct values in siteurl and home.

    siteurl is your WordPress address (URL) and home is your Blog Address (URL).

    And, some other info:
    https://www.tamba2.org.uk/wordpress/site-url/

    Thread Starter oznola

    (@oznola)

    ty MichaelH.

    problem solved!

    Awesome! I just did exactly the same thing!

    I was following a book, word for word about Building a Worpress Blog. It worked beautifully until I followed the advice about separating WordPress and Content files. So, I tried to backtrack and I have just wasted 12 hours deleting/uninstalling and uploading again 3 times trying to get back to the starting point. No luck though. I figured it must be something beyond those files and, thankfully, your question and resolution worked perfectly. I now have my blog back. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘i need to reset WordPress address (URI):’ is closed to new replies.