CyberPanel Community

Wordprss Rewrite Rules

mo
mohammadr3z #1

Hello
I placed this code for my site and Error 404 was fixed. But then the problem

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

invalid application/octet-stream

11 replies
mo
mohammadr3z #2

But then the problem " invalid application/octet-stream "

download file when open site

Cy
CyberPanel #3

What is your site address, and do you have anything else in the rewrite rules file?

Cy
CyberPanel #5

Did you add those rules manually? Try removing any extra rules first.

mo
mohammadr3z #6

All rules are taken from the wp-rocket plugin

Cy
CyberPanel #8

After removing rules you have to restart OpenLiteSpeed, can you print out your vHost Configuration for me?

mo
mohammadr3z #9

I did the restart too. There is nothing wrong with this problem only when I transfer the database backup from the hostinger to cyberpanel

Cy
CyberPanel #10

cat /usr/local/lsws/logs/error.log

Sign in to reply