RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
on my .htaccess file on file manager, i removed it but nothing changed. The website admin panel works. I tried disabling all plugins but it didnt fix the error.
Error Message
404 Not Found
The page you were looking for could not be found!
If you just came across this page, please carry on. If you are the website owner, please check the resources below.
Check the Knowledge Base articleFind more information about what this error means and how you might fix it.
Ask on the ForumMaybe someone on our Community Forum can help you figure out this issue.
Proudly powered by Infinity Free
Other Information
I would appreciate if anyone can help me fix this as soon as possible. This is the first time this has had happened. There is nothing currently on .htaccess file its empty.
If you click something it will redirect you to infinityfree error page. The website is more than 3 days old. Also theres nothing currently in .htaccess file and also i installed ssl 1 month ago.
The problem was not caused by added the HTTPS lines. The problem is most likely caused by the fact that you removed the original WordPress .htaccess rules when you did.
To fix this, you can add the original WordPress .htaccess rules to your current .htaccess files:
You’ll probably want to have both the HTTPS rules and the WordPress rules.