Every page on website redirect to a infinityfree 404 page

My website URL is:
thenewodyssey.co/

What I’m seeing is:

When you enter the website, except the main/home page, when you enter or click every other page on the website its redirecting you to a infinityfree 404 page;

I’m using this software:
I’m using WordPress, and File manager.

Would really appreciate the help.

Try to edit the .htaccess (or create it) on your htdocs folder with these contents instead of the ones who were present before:

# BEGIN WordPress

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

# END WordPress
3 Likes

Thank you for your help!
but unfortunately it didn’t worked for me, and when I tried to update the file, it resets itself and became blank no matter what I do…,

I deleted the blank .htaccess file which was there, created a new one and pasted the content shared by @Ergastolator1 into it. It seems to stay there now.

Did you copy or edit an existing .htaccess file in some way? Because that could have lead to some bad file permissions which can cause issues like this.

3 Likes

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