I accidentally deleted the main files

Website URL

Site deleted

Error Message

I accidentally deleted all the files in the main folder on my page, including the htdocs folder and the .htaccess file, the problem is that there is no way to recreate these files, It only allows you to recreate the htdocs folder but not the redirection file

You can re-create the redirection in the client area.

7 Likes

Ouch. Terrible when these things happen.

Id advise making a back up of everything including your .htaccess file.

Personally I use git, so I develop on my pc, and it automatically backs up to my GitHub.

If you’d like I can try and put together a tutorial and share it

7 Likes

What is this “redirection file” you are referring to?

If you’re referring to the main .htaccess file, it’s true that you cannot recreate it, but it will also not affect the functionality of your website. The only things in there are some changes to the default error pages, and configuration for directory indexes that should be mostly irrelevant.

In other words, don’t worry about it.

6 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.