I do not understand anything .htaccess and I need a redirection to cache.
Currently use the following rule:
RewriteRule ^movie/(.*)/(.*)/(.*)$ app.php?view=movie&theatre=$1&ordem=$2&movie=$3 [L,QSA]
That is, the requested URL
movie/jardins/0/robocop
redirects to
app.php?view=movie&theatre={jardins}&ordem={0}&movie={robocop}
But I want to redirect api/cache/html/{jardins}/{0}/{robocop}.html if file exists.
Recalling that {jardins} and {0} are directories.
How to do this?
Read more here: Redirect in .htaccess if file exists (cache)