Htaccess File

akrabat/joindin-web2/master/web/.htaccess

REQUEST_FILENAME, REQUEST_URI
DirectorySlash Off

RewriteEngine On

# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /

RewriteRule ^inc/img/rating-(d).gif$ img/avg-rating-$1.png [L]

# Send 410 for /feed*
RewriteRule ^feed - [NC,G,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^(.+)/$
RewriteRule ^(.+)/$  /$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
Exit mobile version