• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue rewrite rules 404 after upgrade to plesk

123B3n

New Pleskian
Hi there,

I have been trying lately to figure out why I can't get my rewrite rules to work, I recently upgraded to plesk instead of using open software ones. Anyhow back before I upgrade to plesk everything was working fine but once I switched to plesk none of my rewrite rules works anymore. Is there anyone here that might know why none of these are working anymore?

Currently running: PHP 7.3.0 (FastCGI application served by Apache) <- No clue what it means

Code:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
 
Back
Top