Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Wordpress installation in subdirectory vanished without reason

Discussion in 'General Discussion' started by dezoin, May 30, 2018.

Tags:
  1. dezoin

    dezoin Registered

    Joined:
    May 30, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nederland
    cPanel Access Level:
    Website Owner
    Hello,

    I had 2 wordpress installations on my website.

    The first one was on www.example.com[/URL]
    And the second one on www.example.com/thema1

    Today when i installed wordpress on www.example.com/thema2 all my content on the site www.example.com/thema1 was gone. With softaculous i still can see that "thema1" still exsists. But all my files that were there are gone now.

    Is there a way to bring them back?
    And what was the reason that all my files there vanished while this url is still there?
     
    #1 dezoin, May 30, 2018
    Last edited by a moderator: May 30, 2018
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,221
    Likes Received:
    159
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @dezoin

    It sounds like you overwrote the path for example.com/thema1 but it's difficult to know if this is the case without seeing the configuration. What is present in the documentroot for thema1?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dezoin

    dezoin Registered

    Joined:
    May 30, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nederland
    cPanel Access Level:
    Website Owner
    I dont know if I know where to find it but i'll try.

    Thema1 Document info

    Software
    WordPress

    Installation Number
    26_28836

    Version
    4.9.6

    Installation Time
    May 29, 2018, 4:57 pm

    Path
    /home/username/public_html/thema1

    URL
    https://example.com/thema1

    Admin URL
    https://example.com/thema1/wp-admin/

    Database Name
    username_wp439

    Database User
    username_wp439

    Database Host
    localhost

    Thema2 Document info

    Info
    Software
    WordPress

    Installation Number
    26_14887

    Version
    4.9.6

    Installation Time
    Today at 11:25 am

    Path
    /home/username/public_html/thema2

    URL
    https://example.com/thema2

    Admin URL
    https://example.com/thema2/wp-admin/

    Database Name
    username_wp659

    Database User
    username_wp659

    Database Host
    localhost

    What is kinda disturbing is that the path of thema1 is /home/username/public_html/thema1 but when i look in the file manager the whole thema1 folder is gone.

    I hope you have enough information now
     
    #3 dezoin, May 30, 2018
    Last edited: May 30, 2018
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,221
    Likes Received:
    159
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @dezoin


    I think in order to find out exactly what happened and if the data is still there it might be best to open a ticket. You can do this using the link in my signature, once open please update this thread with the ticket ID

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    727
    Likes Received:
    248
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Top Tip for Softaculous users:

    As soon as you install any application from Softaculous - navigate to the Softaculous interface in the users cPanel and TAKE A BACKUP (use the Softaculous default backup location, and do NOT store backups in the same folder you are trying to protect !)

    Even if you overwrite or accidentally delete the installation folder or database, or delete the installation in Softaculous, you will be able to restore the installation from the Softaculous backups repository.

    It is not a bad idea to use this facility to trigger a backup before you make any changes to the install, if they go wrong, you can always roll back to the latest backup.

    It is also a GREAT idea to use the Softaculous clone facility if you want to try new potentially destructive changes such as theme or code changes. This will enable you to experiment first without wrecking a production site.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
  6. dezoin

    dezoin Registered

    Joined:
    May 30, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nederland
    cPanel Access Level:
    Website Owner
    I already found the solution, thanks for the help guys.
     
  7. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,221
    Likes Received:
    159
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @dezoin

    I'm glad to hear that you found a solution, can you share with us what you did to resolve the issue as it may help someone in the future.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice