This is not a fault, just an accident that was not intentional.

[ad_1]

Well that sounds like a hack. First don’t panic and step back then carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures and start backing up your site.

Hello Alan,
i already scanned my website to search if there a malware and the result is clear

Moderator
Yui

(@fierevere)

ゆい

try to revise your .htaccess file
(you can even remove it) and regenerate a new one

Dashboard – Settings – Permalinks – (Just save, no changes needed)

Hello Yui,
Thank you very much
your solution is right
I do what you told me todo
and the site is working now
can you please tell me why that happened?

@fierevere
hi, could you please give some information on what the problem was?

Moderator
Yui

(@fierevere)

ゆい

considering
“This is not a fault, just an accident that was not intentional”
is some sort of 404,
a broken .htaccess file does break any permalinks for the site, only the main page can be opened, anything else goes 404

Why this has happened?

1. someone edited and broke .htaccess
2. viruses/malware, see the above comment by Alan on what to do
3. broken plugin attempted to edit it and insert some rules

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer