Hello,
Thank you for your query, and we are so sorry about the trouble this must have caused.
If your .htaccess file is deleted, don’t worry too much. This file is not permanently lost and can be recreated.
You can go through the below blog post to retrieve it successfully.
Why You Can’t Find .htaccess File on Your WordPress Site
https://www.wpbeginner.com/beginners-guide/why-you-cant-find-htaccess-file-on-your-wordpress-site
Remember to back up your .htaccess file in the future to avoid losing it.
You should also apply the correct file permissions to your .htaccess file – typically 644, which allows WordPress to write to it when needed, but doesn’t allow potential attackers to modify it.
We hope that helps, and please don’t hesitate to get in touch if you have any other questions.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.