Support » Fixing WordPress » Deleted /site and now can’t access

  • Resolved leonardogsouza

    (@leonardogsouza)


    Hi! Im helping a friend with his website, but I just made a huge mistake, apparently. Over at General the website address was http://www.pescop.com.br/SITE. I deleted that “/site” and now cant login anymore. What should can I do to fix it? Thanks!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • lisa

    (@contentiskey)

    This sounds like an error that can be fixed in the database options table.
    Can you get access to the webhosting account which contains the database tables?

    Directions to get the URL back to what is was originally.
    Changing the URL directly in the database
    https://codex.wordpress.org/Changing_The_Site_URL

    • This reply was modified 4 years, 8 months ago by lisa.
    Thread Starter leonardogsouza

    (@leonardogsouza)

    Pretty sure I do, I asked him for the credentials. Once I get, what should I change in the database?

    Thread Starter leonardogsouza

    (@leonardogsouza)

    Ops, Will check the link

    Hi

        Log into the cPanel account.
        Click on the “phpMyAdmin” icon within the “Databases” section.
        Expand the database associated with the WordPress installation and select the “wp_options” table.
        Search for “siteurl” within the “option_name” column and click the “Edit” link on the same row.
        now change it back to the original one.

    Click the “Go” button when done.

    lisa

    (@contentiskey)

    Directions to adjust URL….
    Changing the URL directly in the database
    https://codex.wordpress.org/Changing_The_Site_URL

    step 1-get the URL back to the original by changing in database
    be sure you can access WP-Admin dashboard
    be sure you can access the proper folders with plugins, themes, wp-includes, wp-admin etc. via FTP/SFTP
    create a backup of database and files

    step 2-decide what the appropriate new URL is for the website — change in the database
    be sure you can access WP-Admin dashboard
    be sure you can access the proper folders with plugins, themes, wp-includes, wp-admin etc. via FTP/SFTP
    create a backup of database and files

    Thread Starter leonardogsouza

    (@leonardogsouza)

    Still couldnt fix it. The website is hosted on DigitalOcean, so I have to do this through linux and command line (which I suck). Filezilla cant connect. I guess I have to change wp-config.php?

    Thread Starter leonardogsouza

    (@leonardogsouza)

    A friend help me out. Thanks for letting me know about wp-config 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Deleted /site and now can’t access’ is closed to new replies.