• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question help .htaccess

AlexZonimi

New Pleskian
Hello, I would like to know if anyone can help me convert the .htaccess below, I tried to use the platform extension but it didn't work.


Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !(/$|\.)
    RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteRule . index.php [L]
</IfModule>

I've tried to use it too: location / { try_files $uri $uri/ /index.php; }

Returning to Apache is not an option, thanks in advance and I hope you understand my English
 
Back
Top