.htaccess rules not being followed. Website is now redirecting to Infinity Free 404 Site

Username ( [epiz_29748520] or https://connoruhrig.com

(please specify the website or account you are asking about)

Error Message

404 Page Not Found

Other Information

.htaccess rules not being followed. Website is now redirecting to Infinity Free 404 Site
It’s showing this despite WordPress having all required documents
This happened after the .htaccess deleted after trying to disable the site by IP for Russia and Belarus to ensure that sanctions were being followed.


Ok to me

2 Likes

@KangJL
It’s after a user clicks a button or goes to a subpage for example connoruhrig.com/blog or connoruhrig.com/wp-admin.php

Try removing the first RewriteRule.
Also, you don’t need to ping people like that, they will see the topic when they’re available.

2 Likes

I tried without the first rewrite rule, and it has not made a difference.
See updated .htaccess contents below:

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Try this:

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Even after applying the change, it still won’t work.
Is there anything else I am missing?

Try reinstalling WP from wherever you installed it (most likely Softaculous).

2 Likes

Thank you. It is now working.

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